Merge "Add communal settings category key." into tm-qpr-dev
This commit is contained in:
@@ -66,6 +66,8 @@ public final class CategoryKey {
|
|||||||
"com.android.settings.category.ia.battery_saver_settings";
|
"com.android.settings.category.ia.battery_saver_settings";
|
||||||
public static final String CATEGORY_SMART_BATTERY_SETTINGS =
|
public static final String CATEGORY_SMART_BATTERY_SETTINGS =
|
||||||
"com.android.settings.category.ia.smart_battery_settings";
|
"com.android.settings.category.ia.smart_battery_settings";
|
||||||
|
public static final String CATEGORY_COMMUNAL_SETTINGS =
|
||||||
|
"com.android.settings.category.ia.communal";
|
||||||
|
|
||||||
public static final Map<String, String> KEY_COMPAT_MAP;
|
public static final Map<String, String> KEY_COMPAT_MAP;
|
||||||
|
|
||||||
|
|||||||
@@ -60,8 +60,9 @@ public class CategoryKeyTest {
|
|||||||
allKeys.add(CategoryKey.CATEGORY_GESTURES);
|
allKeys.add(CategoryKey.CATEGORY_GESTURES);
|
||||||
allKeys.add(CategoryKey.CATEGORY_NIGHT_DISPLAY);
|
allKeys.add(CategoryKey.CATEGORY_NIGHT_DISPLAY);
|
||||||
allKeys.add(CategoryKey.CATEGORY_SMART_BATTERY_SETTINGS);
|
allKeys.add(CategoryKey.CATEGORY_SMART_BATTERY_SETTINGS);
|
||||||
|
allKeys.add(CategoryKey.CATEGORY_COMMUNAL_SETTINGS);
|
||||||
// DO NOT REMOVE ANYTHING ABOVE
|
// DO NOT REMOVE ANYTHING ABOVE
|
||||||
|
|
||||||
assertThat(allKeys.size()).isEqualTo(19);
|
assertThat(allKeys.size()).isEqualTo(20);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user