Merge "Add communal settings category key." into tm-qpr-dev am: 8118ea49ef am: ac7f50eb5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20737688 Change-Id: I4711acc9dc4b35811eb9cc324ca7efb98e40de41 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -66,6 +66,8 @@ public final class CategoryKey {
|
||||
"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 String CATEGORY_COMMUNAL_SETTINGS =
|
||||
"com.android.settings.category.ia.communal";
|
||||
|
||||
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_NIGHT_DISPLAY);
|
||||
allKeys.add(CategoryKey.CATEGORY_SMART_BATTERY_SETTINGS);
|
||||
allKeys.add(CategoryKey.CATEGORY_COMMUNAL_SETTINGS);
|
||||
// DO NOT REMOVE ANYTHING ABOVE
|
||||
|
||||
assertThat(allKeys.size()).isEqualTo(19);
|
||||
assertThat(allKeys.size()).isEqualTo(20);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user