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

Commit 682dec63 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add a category key for the adaptive battery settings page"

parents cdecdea7 34018618
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -61,6 +61,8 @@ public final class CategoryKey {
            "com.android.settings.category.ia.my_device_info";
    public static final String CATEGORY_BATTERY_SAVER_SETTINGS =
            "com.android.settings.category.ia.battery_saver_settings";
    public static final String CATEGORY_SMART_BATTERY_SETTINGS =
            "com.android.settings.category.ia.smart_battery_settings";

    public static final Map<String, String> KEY_COMPAT_MAP;

+2 −1
Original line number Diff line number Diff line
@@ -59,8 +59,9 @@ public class CategoryKeyTest {
        allKeys.add(CategoryKey.CATEGORY_SYSTEM_DEVELOPMENT);
        allKeys.add(CategoryKey.CATEGORY_GESTURES);
        allKeys.add(CategoryKey.CATEGORY_NIGHT_DISPLAY);
        allKeys.add(CategoryKey.CATEGORY_SMART_BATTERY_SETTINGS);
        // DO NOT REMOVE ANYTHING ABOVE

        assertThat(allKeys.size()).isEqualTo(18);
        assertThat(allKeys.size()).isEqualTo(19);
    }
}