Skip to content
Commit d9bf639e authored by Dmitri Plotnikov's avatar Dmitri Plotnikov
Browse files

Writing battery history tags into the history buffer

The number and size of history tags can be very large, so they
would make the BatteryUsageStats binder parcel excessively large.
Now that they are written into the main buffer, the overall
size of the buffer, including the tags, is capped at 128k.

Bug: 198084535
Test: atest FrameworksCoreTests:BatteryUsageStatsProviderTest
      atest FrameworksCoreTests:BatteryStatsHistoryIteratorTest
      atest CtsDumpsysHostTestCases:BatteryStatsDumpsysTest
Change-Id: If7c54ab92f9ed92bd77d6a34ceee6e706a8db8fc
parent 05217e49
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment