BatteryStatsService: Increase max power stats size

Bug: 189120596
Test: Examined logcat
Change-Id: I9841adc7abef28d8171d3036ca79a0abf1839954
This commit is contained in:
Benjamin Schwartz
2021-04-15 14:25:40 -07:00
parent 56b6ff07c3
commit a99f3e0b13

View File

@@ -136,7 +136,7 @@ public final class BatteryStatsService extends IBatteryStats.Stub
.onMalformedInput(CodingErrorAction.REPLACE)
.onUnmappableCharacter(CodingErrorAction.REPLACE)
.replaceWith("?");
private static final int MAX_LOW_POWER_STATS_SIZE = 8192;
private static final int MAX_LOW_POWER_STATS_SIZE = 16384;
private static final int POWER_STATS_QUERY_TIMEOUT_MILLIS = 2000;
private static final String EMPTY = "Empty";