Merge "Added a category for lockscreen settings." into oc-dr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7cb007c6d3
@@ -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_SOUND = "com.android.settings.category.ia.sound";
|
||||||
public static final String CATEGORY_STORAGE = "com.android.settings.category.ia.storage";
|
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 = "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_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 = "com.android.settings.category.ia.system";
|
||||||
public static final String CATEGORY_SYSTEM_LANGUAGE =
|
public static final String CATEGORY_SYSTEM_LANGUAGE =
|
||||||
|
|||||||
@@ -54,13 +54,14 @@ public class CategoryKeyTest {
|
|||||||
allKeys.add(CategoryKey.CATEGORY_SOUND);
|
allKeys.add(CategoryKey.CATEGORY_SOUND);
|
||||||
allKeys.add(CategoryKey.CATEGORY_STORAGE);
|
allKeys.add(CategoryKey.CATEGORY_STORAGE);
|
||||||
allKeys.add(CategoryKey.CATEGORY_SECURITY);
|
allKeys.add(CategoryKey.CATEGORY_SECURITY);
|
||||||
|
allKeys.add(CategoryKey.CATEGORY_SECURITY_LOCKSCREEN);
|
||||||
allKeys.add(CategoryKey.CATEGORY_ACCOUNT);
|
allKeys.add(CategoryKey.CATEGORY_ACCOUNT);
|
||||||
allKeys.add(CategoryKey.CATEGORY_SYSTEM);
|
allKeys.add(CategoryKey.CATEGORY_SYSTEM);
|
||||||
allKeys.add(CategoryKey.CATEGORY_SYSTEM_LANGUAGE);
|
allKeys.add(CategoryKey.CATEGORY_SYSTEM_LANGUAGE);
|
||||||
allKeys.add(CategoryKey.CATEGORY_SYSTEM_DEVELOPMENT);
|
allKeys.add(CategoryKey.CATEGORY_SYSTEM_DEVELOPMENT);
|
||||||
// DO NOT REMOVE ANYTHING ABOVE
|
// DO NOT REMOVE ANYTHING ABOVE
|
||||||
|
|
||||||
assertThat(allKeys.size()).isEqualTo(13);
|
assertThat(allKeys.size()).isEqualTo(14);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user