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

Commit 871b2b7a authored by YK Hung's avatar YK Hung
Browse files

Update the database filename and the version number as the same time

Fix: 348156270
Test: atest SettingsRoboTests:com.android.settings.fuelgauge.batteryusage
Flag: EXEMPT bug fix
Change-Id: I26d7e1bf0d1766374359b6c6f12e96d78726ed85
parent 9e0e43dc
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;