diff options
| author | 2017-08-04 15:24:51 -0700 | |
|---|---|---|
| committer | 2017-08-04 15:24:51 -0700 | |
| commit | 38d5d59a758d5caee6dde68b2043ec4a2ba9f2ca (patch) | |
| tree | 9d3c321c00676528270f9256b8b34a560a953ee3 | |
| parent | 98d4d5cf3f95fb32814d476fdd899e7d251aa6e9 (diff) | |
Bump parcel version to reset batterystats
Due to new changes in batterystats definitions (especially for wakeup
alarms), we should force batterystats to reset its data for all devices
with these changes. This can be done by increasing the parcel version
number. This is being done in a separate submission to avoid merge
conflicts.
Test: none
Bug: 64149996
Change-Id: I59cf2064e38694d485b18a2bf20ceaa65f6458c4
| -rw-r--r-- | core/java/com/android/internal/os/BatteryStatsImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/com/android/internal/os/BatteryStatsImpl.java b/core/java/com/android/internal/os/BatteryStatsImpl.java index 16e469ebf9c6..1290159c3792 100644 --- a/core/java/com/android/internal/os/BatteryStatsImpl.java +++ b/core/java/com/android/internal/os/BatteryStatsImpl.java @@ -119,7 +119,7 @@ public class BatteryStatsImpl extends BatteryStats { private static final int MAGIC = 0xBA757475; // 'BATSTATS' // Current on-disk Parcel version - private static final int VERSION = 163 + (USE_OLD_HISTORY ? 1000 : 0); + private static final int VERSION = 164 + (USE_OLD_HISTORY ? 1000 : 0); // Maximum number of items we will record in the history. private static final int MAX_HISTORY_ITEMS; |