diff options
author | Salvador Martinez <dehboxturtle@google.com> | 2018-07-03 18:07:07 -0700 |
---|---|---|
committer | Salvador Martinez <dehboxturtle@google.com> | 2018-07-10 16:35:18 -0700 |
commit | 926f071688d91135575fbfc708e4bb884c86e780 (patch) | |
tree | b8618849cfb08a2638c8cfd8b3d8df6380394518 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a14e1b3950d81e73a9cc6d06bf3ec2afa906acd8 (diff) |
Only query for estimate on battery level change
SysUI is querying for an estimate too much, this change gates
it on being the first estimate or the battery level having
changed so that we don't waste system resources.
Test: atest PowerUITest
Bug: 110259498
Change-Id: I6fb5c08d6388e463d6216de41b3fd49bbc489b81
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions