OSDN Git Service

Remove constants for VOICE_CONTROL_ZEN_MODE.
authorBarnaby James <bjames@google.com>
Sat, 9 Aug 2014 05:48:35 +0000 (22:48 -0700)
committerBarnaby James <bjames@google.com>
Sat, 9 Aug 2014 05:48:35 +0000 (22:48 -0700)
Change-Id: I197d68e66d9a1b197e7c35fd140101458cf5bfc7

core/java/android/provider/Settings.java

index 23b23af..55ba9e9 100644 (file)
@@ -804,33 +804,6 @@ public final class Settings {
     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>
      * In some cases, a matching Activity may not exist, so ensure you safeguard
@@ -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";