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

Commit df6235cd authored by Adam Lesinski's avatar Adam Lesinski
Browse files

Bump the BatteryStats parcel VERSION

A previous change forgot to bump the version, leading to
corrupt data.

Bug:19683715
Bug:21574065
Change-Id: I30c9039694b02d576909e8f60c25f175986b8c5c
parent b5766468
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;