diff options
author | Dmitri Plotnikov <dplotnikov@google.com> | 2021-03-29 17:44:47 -0700 |
---|---|---|
committer | Dmitri Plotnikov <dplotnikov@google.com> | 2021-03-29 19:18:24 -0700 |
commit | ff6c7f864c17774618af2734070c17e4c4a45c0a (patch) | |
tree | 95aca8f8cfedfa3d0332def1f4fec73565f89004 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 68037c9a26803fe33c5461af5795ecdeb305390b (diff) |
Adjust total consumed power to avoid double-counting
The definition of SystemBatteryConsumer.getConsumedPower()
has been changed to include power attributed to apps.
That power is also included in UidBatteryConsumers, so we
ended up double-counting power attributed to apps.
Bug: 183235836
Test: atest FrameworksCoreTests:com.android.internal.os.BatteryStatsTests
Change-Id: Ib99b3ce910b62528241e271bdb3b925a9ac01830
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions