diff options
| author | 2022-06-15 15:47:04 -0700 | |
|---|---|---|
| committer | 2022-06-21 20:57:40 +0000 | |
| commit | e57b8c1749646ed659986422f7c98f7994cc508b (patch) | |
| tree | 53b9288cc1d2f15051f127b03f130635bd45f61c /libs/androidfw/StringPool.cpp | |
| parent | b4d605f778866c1bb21371ab531845c22fb6a06d (diff) | |
BatteryStatsImpl: Add parcel methods for DisplayBatteryStats.
DisplayBatteryStats didn't have parcel methods and the estimated
multidisplay screen power was always initialized from 0.
The estimated screen power of the app will become inaccurate
after rebooting.
Bug: 235321975
Test: manual test.
1. Unplug the device.
2. Use an app for a while and keep screen on.
3. Capture the first bug report.
4. Reboot the device.
5. Capture the second bug report.
The estimated screen power of the app shouldn't become lower after rebooting the device.
Author: Shumao Hou <shumao1129@gmail.com>
Change-Id: If74e285102a7350c17c2fc40a205b2031e82f5f4
(cherry picked from commit 79c3779bb1de72610d36e0ce8daf715e04091d1b)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions