commit | 4303dc06ce0ed5013fc831c6656ddc89ae689d4b | [log] [tgz] |
---|---|---|
author | Hui Yu <huiyu@google.com> | Wed Jun 05 11:44:40 2019 -0700 |
committer | Hui Yu <huiyu@google.com> | Wed Jun 05 21:38:06 2019 +0000 |
tree | 876ddfb11b864fd3934e380f319878e988a9b664 | |
parent | cf2ff61cceb9a22d6813cdf78da6b41d2fd724a1 [diff] |
Check for file existence before reading it. To avoid FileNotFoundException. Fix: 134585043 Test: Factory wipe the device, first time bootup, observe no FileNotFoundException exception message from BatteryStatsImpl. Change-Id: If7830d8fefe07c57b0b2c86ab6cd603913c23e34