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

Commit 0a2d60a9 authored by YK Hung's avatar YK Hung Committed by Android (Google) Code Review
Browse files

Merge "Update the database filename and the version number as the same time" into main

parents a1acf685 871b2b7a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -33,10 +33,10 @@ import androidx.room.RoomDatabase;
            BatteryUsageSlotEntity.class,
            BatteryReattributeEntity.class
        },
        version = 2)
        version = 3)
public abstract class BatteryStateDatabase extends RoomDatabase {
    private static final String TAG = "BatteryStateDatabase";
    private static final String DB_FILE_NAME = "battery-usage-db-v10";
    private static final String DB_FILE_NAME = "battery-usage-db-v11";

    private static BatteryStateDatabase sBatteryStateDatabase;