Merge "Add a category key for the adaptive battery settings page"
This commit is contained in:
committed by
Android (Google) Code Review
commit
682dec635d
@@ -61,6 +61,8 @@ public final class CategoryKey {
|
||||
"com.android.settings.category.ia.my_device_info";
|
||||
public static final String CATEGORY_BATTERY_SAVER_SETTINGS =
|
||||
"com.android.settings.category.ia.battery_saver_settings";
|
||||
public static final String CATEGORY_SMART_BATTERY_SETTINGS =
|
||||
"com.android.settings.category.ia.smart_battery_settings";
|
||||
|
||||
public static final Map<String, String> KEY_COMPAT_MAP;
|
||||
|
||||
|
||||
@@ -59,8 +59,9 @@ public class CategoryKeyTest {
|
||||
allKeys.add(CategoryKey.CATEGORY_SYSTEM_DEVELOPMENT);
|
||||
allKeys.add(CategoryKey.CATEGORY_GESTURES);
|
||||
allKeys.add(CategoryKey.CATEGORY_NIGHT_DISPLAY);
|
||||
allKeys.add(CategoryKey.CATEGORY_SMART_BATTERY_SETTINGS);
|
||||
// DO NOT REMOVE ANYTHING ABOVE
|
||||
|
||||
assertThat(allKeys.size()).isEqualTo(18);
|
||||
assertThat(allKeys.size()).isEqualTo(19);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user