BatteryStatsService: increase power stats size

Bug: 279234525
Test: The error logs no longer present
Change-Id: I1dd0df0ac1de2d04427ea310db6024223ad64010
Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
Darren Hsu
2023-04-24 16:45:50 +08:00
parent a8d94a19c0
commit 3d96bdebad

View File

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