Added a category for lockscreen settings.
Bug: 62487664 Test: Built and flashed a system image, ran RunSettingsLibRoboTests. Change-Id: I4f2b09622ec221caf9898d03fbad1db354c264ea
This commit is contained in:
@@ -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 =
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user