diff options
| author | TreeHugger Robot <treehugger-gerrit@google.com> | 2019-01-17 05:16:24 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-01-17 05:16:24 +0000 |
| commit | 7e59dcb44f079f55dc9ad308fa03beeace199ca8 (patch) | |
| tree | efba3bdefd0ff61aa7fe0464ddce18a0a0b5fa4d /core/java | |
| parent | e9b7a0b7a6833ebffe0ee3bd991a85c23da6630b (diff) | |
| parent | 2c80b590104b8aee68d9f552ce8758e81f79abf5 (diff) | |
Merge "Create a new constant for system app to start a voice service."
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/service/voice/VoiceInteractionSession.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/service/voice/VoiceInteractionSession.java b/core/java/android/service/voice/VoiceInteractionSession.java index 163e3d5fab56..6f274477431f 100644 --- a/core/java/android/service/voice/VoiceInteractionSession.java +++ b/core/java/android/service/voice/VoiceInteractionSession.java @@ -121,6 +121,12 @@ public class VoiceInteractionSession implements KeyEvent.Callback, ComponentCall */ public static final int SHOW_SOURCE_NOTIFICATION = 1 << 6; + /** + * Flag for use with {@link #onShow}: indicates that the voice interaction service was invoked + * from an Android automotive system Ui. + */ + public static final int SHOW_SOURCE_AUTOMOTIVE_SYSTEM_UI = 1 << 7; + final Context mContext; final HandlerCaller mHandlerCaller; |
