Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb6b64df authored by HJ ChangLiao's avatar HJ ChangLiao
Browse files

Add new category key for ConnectDeviceFrag

For inject dynamic pref driving mode to
ConnectDeviceDashboardFragment,
Add a new category key for register it.

Bug: 72458929
Test: make RunSettingsLibRoboTests
Change-Id: Ifbbc8fc0f7b68ef68aff550851767a4f8ad7d9e6
parent eb914118
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ public final class CategoryKey {

    // Top level category.
    public static final String CATEGORY_NETWORK = "com.android.settings.category.ia.wireless";
    public static final String CATEGORY_CONNECT = "com.android.settings.category.ia.connect";
    public static final String CATEGORY_DEVICE = "com.android.settings.category.ia.device";
    public static final String CATEGORY_APPS = "com.android.settings.category.ia.apps";
    public static final String CATEGORY_APPS_DEFAULT =
+2 −1
Original line number Diff line number Diff line
@@ -42,6 +42,7 @@ public class CategoryKeyTest {

        // DO NOT REMOVE ANYTHING BELOW
        allKeys.add(CategoryKey.CATEGORY_HOMEPAGE);
        allKeys.add(CategoryKey.CATEGORY_CONNECT);
        allKeys.add(CategoryKey.CATEGORY_DEVICE);
        allKeys.add(CategoryKey.CATEGORY_APPS);
        allKeys.add(CategoryKey.CATEGORY_APPS_DEFAULT);
@@ -58,6 +59,6 @@ public class CategoryKeyTest {
        allKeys.add(CategoryKey.CATEGORY_SYSTEM_DEVELOPMENT);
        // DO NOT REMOVE ANYTHING ABOVE

        assertThat(allKeys.size()).isEqualTo(15);
        assertThat(allKeys.size()).isEqualTo(16);
    }
}