diff options
| author | 2010-01-25 12:06:48 -0800 | |
|---|---|---|
| committer | 2010-01-25 12:06:48 -0800 | |
| commit | 882652bf0d78ef06635621a11a07690b7c682a7b (patch) | |
| tree | 41980dec49edb92bad540d0ea00a75d4b018b942 | |
| parent | b1cbc3525fd9cbef63510907251e6feaba151862 (diff) | |
| parent | 9c58935c1b172d5940c1eb46e57e9007c5c50589 (diff) | |
Merge "Add RecognizerIntent.ACTION_VOICE_SEARCH_SETTINGS, which we'll trigger from system settings. For now it'll just be triggered from within the voice search app if you choose the settings menu item."
| -rw-r--r-- | core/java/android/speech/RecognizerIntent.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/speech/RecognizerIntent.java b/core/java/android/speech/RecognizerIntent.java index 987e763160de..6c5f91232385 100644 --- a/core/java/android/speech/RecognizerIntent.java +++ b/core/java/android/speech/RecognizerIntent.java @@ -154,4 +154,12 @@ public class RecognizerIntent { * {@link #ACTION_RECOGNIZE_SPEECH}. Only present when {@link Activity#RESULT_OK} is returned. */ public static final String EXTRA_RESULTS = "android.speech.extra.RESULTS"; + + /** + * Triggers the voice search settings activity. + * + * @hide pending API council approval, to be unhidden for Froyo + */ + public static final String ACTION_VOICE_SEARCH_SETTINGS = + "android.speech.action.VOICE_SEARCH_SETTINGS"; } |