diff options
| author | 2018-03-14 20:43:14 +0000 | |
|---|---|---|
| committer | 2018-03-14 20:43:14 +0000 | |
| commit | db56e7b9491dcca41014e3d80f64d6e28b9eec09 (patch) | |
| tree | c4b1615a767224f24f12664fd432e0dbc1b96b32 | |
| parent | ea50ff85e852c6901165214e2032200b47763f20 (diff) | |
| parent | 03ad13e587962ad2cadb81df759afca3e7d15dab (diff) | |
Merge "Increase size of BatteryStatsService stats buffer" into pi-dev
| -rw-r--r-- | services/core/java/com/android/server/am/BatteryStatsService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/am/BatteryStatsService.java b/services/core/java/com/android/server/am/BatteryStatsService.java index 4541acde14b4..3db1da59b4ea 100644 --- a/services/core/java/com/android/server/am/BatteryStatsService.java +++ b/services/core/java/com/android/server/am/BatteryStatsService.java @@ -103,7 +103,7 @@ public final class BatteryStatsService extends IBatteryStats.Stub .replaceWith("?"); private ByteBuffer mUtf8BufferStat = ByteBuffer.allocateDirect(MAX_LOW_POWER_STATS_SIZE); private CharBuffer mUtf16BufferStat = CharBuffer.allocate(MAX_LOW_POWER_STATS_SIZE); - private static final int MAX_LOW_POWER_STATS_SIZE = 512; + private static final int MAX_LOW_POWER_STATS_SIZE = 2048; /** * Replaces the information in the given rpmStats with up-to-date information. |