commit | e893a890ca47653dc47331bd139d8c86f58b7a2b | [log] [tgz] |
---|---|---|
author | ykhung <ykhung@google.com> | Tue Sep 28 17:30:04 2021 +0800 |
committer | YUKAI HUNG <ykhung@google.com> | Tue Sep 28 10:00:50 2021 +0000 |
tree | 096d9abb01e666b8560fc03d23e977cffc790450 | |
parent | d9db89af8620bf5b7ab887bc2707545bc679e997 [diff] |
[Robustness] protect get battery stats from DeadSystemException Refine the original workaround patch in the ag/15527095 from NPE to return default BatteryUsageStats instance as we merged in the ag/15919139 (align the same solution). Bug: 195306545 Test: make SettingsRoboTests Change-Id: Ic03e8296d16ecb8629155f75727e9cde48c303eb