From b8850040c447236f071b407b9c116bbd400e1536 Mon Sep 17 00:00:00 2001 From: Barnaby James Date: Fri, 8 Aug 2014 22:48:35 -0700 Subject: [PATCH] Remove constants for VOICE_CONTROL_ZEN_MODE. Change-Id: I197d68e66d9a1b197e7c35fd140101458cf5bfc7 --- core/java/android/provider/Settings.java | 40 ------------------------ 1 file changed, 40 deletions(-) diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 23b23af3a2c4b..55ba9e97f0dc4 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -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. - *

- * In some cases, a matching Activity may not exist, so ensure you safeguard against this. - *

- * This intent MUST be started using - * {@link android.service.voice.VoiceInteractionSession#startVoiceActivity - * startVoiceActivity}. - *

- * 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. - *

- * The Activity should verify that - * {@link android.app.Activity#isVoiceInteraction isVoiceInteraction}. - * returns true before modifying the setting. - *

- * Input: Nothing. - *

- * 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. *

@@ -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. - *

- * 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";