Merge "Bump up batterystats version to clear stale data" into oc-dev

This commit is contained in:
Amith Yamasani
2017-03-30 22:50:53 +00:00
committed by Android (Google) Code Review

View File

@@ -114,7 +114,7 @@ public class BatteryStatsImpl extends BatteryStats {
private static final int MAGIC = 0xBA757475; // 'BATSTATS'
// Current on-disk Parcel version
private static final int VERSION = 151 + (USE_OLD_HISTORY ? 1000 : 0);
private static final int VERSION = 152 + (USE_OLD_HISTORY ? 1000 : 0);
// Maximum number of items we will record in the history.
private static final int MAX_HISTORY_ITEMS = 2000;