Remove ALTERNATE_LAUNCHER_ENABLED from system setting.
Bug: 176185475 Test: manual test and unit test Change-Id: Iaa5d6dd727c793c382434703d08f9248d16959fe
This commit is contained in:
@@ -16621,12 +16621,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
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -5259,11 +5259,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()
|
||||
|
||||
@@ -624,7 +624,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,
|
||||
|
||||
Reference in New Issue
Block a user