Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a778bc38 authored by Amith Yamasani's avatar Amith Yamasani Committed by gitbuildkicker
Browse files

Bump up batterystats version to clear stale data

Change-Id: I96016f30f38e17fcdfdb4a52eba69471945a21e2
Fixes: 36783752
Test: manually verified the file was deleted on flash
(cherry picked from commit b23e6358)
parent 940299bd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;