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

Commit a37ff5ec authored by Katsiaryna Naliuka's avatar Katsiaryna Naliuka
Browse files

Added a category for lockscreen settings.

Bug: 62487664
Test: Built and flashed a system image, ran RunSettingsLibRoboTests.
Change-Id: I4f2b09622ec221caf9898d03fbad1db354c264ea
parent 87587fbd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -34,6 +34,8 @@ public final class CategoryKey {
    public static final String CATEGORY_SOUND = "com.android.settings.category.ia.sound";
    public static final String CATEGORY_STORAGE = "com.android.settings.category.ia.storage";
    public static final String CATEGORY_SECURITY = "com.android.settings.category.ia.security";
    public static final String CATEGORY_SECURITY_LOCKSCREEN =
            "com.android.settings.category.ia.lockscreen";
    public static final String CATEGORY_ACCOUNT = "com.android.settings.category.ia.accounts";
    public static final String CATEGORY_SYSTEM = "com.android.settings.category.ia.system";
    public static final String CATEGORY_SYSTEM_LANGUAGE =
+2 −1
Original line number Diff line number Diff line
@@ -54,13 +54,14 @@ public class CategoryKeyTest {
        allKeys.add(CategoryKey.CATEGORY_SOUND);
        allKeys.add(CategoryKey.CATEGORY_STORAGE);
        allKeys.add(CategoryKey.CATEGORY_SECURITY);
        allKeys.add(CategoryKey.CATEGORY_SECURITY_LOCKSCREEN);
        allKeys.add(CategoryKey.CATEGORY_ACCOUNT);
        allKeys.add(CategoryKey.CATEGORY_SYSTEM);
        allKeys.add(CategoryKey.CATEGORY_SYSTEM_LANGUAGE);
        allKeys.add(CategoryKey.CATEGORY_SYSTEM_DEVELOPMENT);
        // DO NOT REMOVE ANYTHING ABOVE

        assertThat(allKeys.size()).isEqualTo(13);
        assertThat(allKeys.size()).isEqualTo(14);
    }

}