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

Commit b8850040 authored by Barnaby James's avatar Barnaby James
Browse files

Remove constants for VOICE_CONTROL_ZEN_MODE.

Change-Id: I197d68e66d9a1b197e7c35fd140101458cf5bfc7
parent ec64709c
Loading
Loading
Loading
Loading
+0 −40
Original line number Diff line number Diff line
@@ -803,33 +803,6 @@ public final class Settings {
    @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
    public static final String ACTION_ZEN_MODE_SETTINGS = "android.settings.ZEN_MODE_SETTINGS";

    /**
     * Activity Action: Modify zen mode settings.
     * <p>
     * In some cases, a matching Activity may not exist, so ensure you safeguard against this.
     * <p>
     * This intent MUST be started using
     * {@link android.service.voice.VoiceInteractionSession#startVoiceActivity
     * startVoiceActivity}.
     * <p>
     * To tell which state zen mode should be set to, add the
     * {@link #EXTRA_ZEN_MODE_INTERRUPTION_STATE} extra to this Intent with the state specified.
     * If there is no extra in this Intent, no changes will be made.
     * <p>
     * The Activity should verify that
     * {@link android.app.Activity#isVoiceInteraction isVoiceInteraction}.
     * returns true before modifying the setting.
     * <p>
     * Input: Nothing.
     * <p>
     * Output: Nothing.
     *
     * @hide
     */
    @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
    public static final String ACTION_VOICE_CONTROL_ZEN_MODE =
            "android.settings.VOICE_CONTROL_ZEN_MODE";

    /**
     * Activity Action: Show the regulatory information screen for the device.
     * <p>
@@ -971,19 +944,6 @@ public final class Settings {
     */
    public static final String EXTRA_AIRPLANE_MODE_ENABLED = "airplane_mode_enabled";

    /**
     * Activity Extra: Modify the zen mode interruption state.
     * <p>
     * This can be passed as an extra field to the {@link #ACTION_VOICE_CONTROL_ZEN_MODE}
     * intent as an integer. The value should be one of
     * {@link android.provider.Settings.Global#ZEN_MODE_OFF},
     * {@link android.provider.Settings.Global#ZEN_MODE_IMPORTANT_INTERRUPTIONS},
     * {@link android.provider.Settings.Global#ZEN_MODE_NO_INTERRUPTIONS}.
     *
     * @hide
     */
    public static final String EXTRA_ZEN_MODE_INTERRUPTION_STATE = "zen_mode_interruption_state";

    private static final String JID_RESOURCE_PREFIX = "android";

    public static final String AUTHORITY = "settings";