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

Commit d083f6b8 authored by Michael Wachenschwanz's avatar Michael Wachenschwanz
Browse files

Upgrade UsageStatsDatabase to version 4 (attempt 2)

If version 4 causes any regression, this CL should be reverted.
The other UsageStatsDatabase changes are not safe to revert.

Bug: 111422946
Test: atest UsageStatsDatabase
Change-Id: I8af08a25c596397ec319d457bfa5c51b73beb4df
parent dc466323
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -75,14 +75,14 @@ import java.util.List;
 * directory should be deserialized.
 */
public class UsageStatsDatabase {
    private static final int DEFAULT_CURRENT_VERSION = 3;
    private static final int DEFAULT_CURRENT_VERSION = 4;
    /**
     * Current version of the backup schema
     *
     * @hide
     */
    @VisibleForTesting
    public static final int BACKUP_VERSION = 1;
    public static final int BACKUP_VERSION = 4;

    // Key under which the payload blob is stored
    // same as UsageStatsBackupHelper.KEY_USAGE_STATS