Bump the BatteryStats parcel VERSION
A previous change forgot to bump the version, leading to corrupt data. Bug:19683715 Bug:21574065 Change-Id: I30c9039694b02d576909e8f60c25f175986b8c5c
This commit is contained in:
@@ -105,7 +105,7 @@ public final class BatteryStatsImpl extends BatteryStats {
|
||||
private static final int MAGIC = 0xBA757475; // 'BATSTATS'
|
||||
|
||||
// Current on-disk Parcel version
|
||||
private static final int VERSION = 126 + (USE_OLD_HISTORY ? 1000 : 0);
|
||||
private static final int VERSION = 127 + (USE_OLD_HISTORY ? 1000 : 0);
|
||||
|
||||
// Maximum number of items we will record in the history.
|
||||
private static final int MAX_HISTORY_ITEMS = 2000;
|
||||
|
||||
Reference in New Issue
Block a user