commit | ba87437a7d3583cac78602794cee9e2ff2ca7972 | [log] [tgz] |
---|---|---|
author | Benjamin Schwartz <bsschwar@google.com> | Thu Feb 18 08:32:42 2021 -0800 |
committer | Benjamin Schwartz <bsschwar@google.com> | Thu Feb 18 14:29:30 2021 -0800 |
tree | 36427e4daabfa3a289ad902f600a7abf776abfea | |
parent | ce65af78aba12172b7f303729c771107856ef492 [diff] |
powerstats: Clients of PowerStatsInternal must nullcheck Added comments and annotations to the PowerStatsInternal and PowerStatsHALWrapper classes. Also fixed the native code to return partial results if available. Bug: 179684579 Test: On battery I no longer see crash Change-Id: Ic97fb56af6559a3fa65f857c527b10303238ac42