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

Commit 53057091 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove ALTERNATE_LAUNCHER_ENABLED from system setting."

parents 40d19efa 5756c34b
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -16743,12 +16743,6 @@ public final class Settings {
             */
            public static final String WEAR_OS_VERSION_STRING = "wear_os_version_string";
            /**
             * If an alternate launcher is enabled.
             * @hide
             */
            public static final String ALTERNATE_LAUNCHER_ENABLED = "alternate_launcher_enabled";
            /**
             * How round the corners of square screens are.
             * @hide
+0 −3
Original line number Diff line number Diff line
@@ -278,9 +278,6 @@
    <!-- Whether to enable mute when off body by default. -->
    <bool name="def_wearable_muteWhenOffBodyEnabled">true</bool>

    <!-- Whether to use an alternate launcher if available. -->
    <bool name="def_wearable_alternateLauncherEnabled">true</bool>

    <!-- If a square screen, how rounded the corners are. Same as CSS border-radius property. -->
    <integer name="def_wearable_squareScreenCornerRoundness">0</integer>

+0 −1
Original line number Diff line number Diff line
@@ -247,7 +247,6 @@ public class GlobalSettingsValidators {
                            String.valueOf(Global.Wearable.STEM_TYPE_CONTACT_LAUNCH)
                        }));
        VALIDATORS.put(Global.Wearable.MUTE_WHEN_OFF_BODY_ENABLED, BOOLEAN_VALIDATOR);
        VALIDATORS.put(Global.Wearable.ALTERNATE_LAUNCHER_ENABLED, BOOLEAN_VALIDATOR);
        VALIDATORS.put(Global.Wearable.CORNER_ROUNDNESS, ANY_INTEGER_VALIDATOR);
        VALIDATORS.put(Global.Wearable.SIDE_BUTTON, BOOLEAN_VALIDATOR);
        VALIDATORS.put(Global.Wearable.BUTTON_SET, BOOLEAN_VALIDATOR);
+0 −5
Original line number Diff line number Diff line
@@ -5258,11 +5258,6 @@ public class SettingsProvider extends ContentProvider {
                                    .getBoolean(R.bool.def_wearable_muteWhenOffBodyEnabled));
                    initGlobalSettingsDefaultValForWearLocked(
                            Global.Wearable.WEAR_OS_VERSION_STRING, "");
                    initGlobalSettingsDefaultValForWearLocked(
                            Global.Wearable.ALTERNATE_LAUNCHER_ENABLED,
                            getContext()
                                    .getResources()
                                    .getBoolean(R.bool.def_wearable_alternateLauncherEnabled));
                    initGlobalSettingsDefaultValForWearLocked(
                            Global.Wearable.CORNER_ROUNDNESS,
                            getContext()
+0 −1
Original line number Diff line number Diff line
@@ -625,7 +625,6 @@ public class SettingsBackupTest {
                    Settings.Global.Wearable.STEM_3_DEFAULT_DATA,
                    Settings.Global.Wearable.MUTE_WHEN_OFF_BODY_ENABLED,
                    Settings.Global.Wearable.WEAR_OS_VERSION_STRING,
                    Settings.Global.Wearable.ALTERNATE_LAUNCHER_ENABLED,
                    Settings.Global.Wearable.CORNER_ROUNDNESS,
                    Settings.Global.Wearable.BUTTON_SET,
                    Settings.Global.Wearable.SIDE_BUTTON,