Rename settings category.

- from night light to night display.

Change-Id: Ib09e1b9299478dc4e8dcee935e29c6886d9dc7b8
Fixes: 79530682
Test: make RunSettingsLibRoboTests
This commit is contained in:
Doris Ling
2018-05-11 10:53:57 -07:00
parent 92a339736f
commit b76cd97091
2 changed files with 3 additions and 3 deletions

View File

@@ -49,8 +49,8 @@ public final class CategoryKey {
"com.android.settings.category.ia.notifications";
public static final String CATEGORY_DO_NOT_DISTURB = "com.android.settings.category.ia.dnd";
public static final String CATEGORY_GESTURES = "com.android.settings.category.ia.gestures";
public static final String CATEGORY_NIGHT_LIGHT =
"com.android.settings.category.ia.night_light";
public static final String CATEGORY_NIGHT_DISPLAY =
"com.android.settings.category.ia.night_display";
public static final Map<String, String> KEY_COMPAT_MAP;

View File

@@ -58,7 +58,7 @@ public class CategoryKeyTest {
allKeys.add(CategoryKey.CATEGORY_SYSTEM_LANGUAGE);
allKeys.add(CategoryKey.CATEGORY_SYSTEM_DEVELOPMENT);
allKeys.add(CategoryKey.CATEGORY_GESTURES);
allKeys.add(CategoryKey.CATEGORY_NIGHT_LIGHT);
allKeys.add(CategoryKey.CATEGORY_NIGHT_DISPLAY);
// DO NOT REMOVE ANYTHING ABOVE
assertThat(allKeys.size()).isEqualTo(18);