diff options
| author | TreeHugger Robot <treehugger-gerrit@google.com> | 2020-12-14 17:00:13 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-12-14 17:00:13 +0000 |
| commit | f010d5dea2047b65d5d125219d2b2eac259302c8 (patch) | |
| tree | 56b46717c50ef290a3d9a8abe73f10461cec66d0 /core/java/android | |
| parent | c31c3a280790ee7bbd1f5274661946e7b7b94de1 (diff) | |
| parent | ea22f49eb3df5811402e1c1b10a5ac93b75796b1 (diff) | |
Merge "Add Assistant Triggered EventTime"
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/service/voice/VoiceInteractionSession.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/java/android/service/voice/VoiceInteractionSession.java b/core/java/android/service/voice/VoiceInteractionSession.java index 0b6d371d8235..c1b66c7b446e 100644 --- a/core/java/android/service/voice/VoiceInteractionSession.java +++ b/core/java/android/service/voice/VoiceInteractionSession.java @@ -1220,7 +1220,7 @@ public class VoiceInteractionSession implements KeyEvent.Callback, ComponentCall * your UI, which will eventually culminate in {@link #onShow}. This is similar to calling * {@link VoiceInteractionService#showSession VoiceInteractionService.showSession}. * @param args Arbitrary arguments that will be propagated {@link #onShow}. - * @param flags Indicates additional optional behavior that should be performed. May + * @param flags Indicates additional optional behavior that should be performed. May * be any combination of * {@link VoiceInteractionSession#SHOW_WITH_ASSIST VoiceInteractionSession.SHOW_WITH_ASSIST} and * {@link VoiceInteractionSession#SHOW_WITH_SCREENSHOT @@ -1583,6 +1583,11 @@ public class VoiceInteractionSession implements KeyEvent.Callback, ComponentCall * * @param args The arguments that were supplied to * {@link VoiceInteractionService#showSession VoiceInteractionService.showSession}. + * Some example keys include : "invocation_type", "invocation_phone_state", + * "invocation_time_ms", Intent.EXTRA_TIME ("android.intent.extra.TIME") indicating timing + * in milliseconds of the KeyEvent that triggered Assistant and + * Intent.EXTRA_ASSIST_INPUT_DEVICE_ID (android.intent.extra.ASSIST_INPUT_DEVICE_ID) + * referring to the device that sent the request. * @param showFlags The show flags originally provided to * {@link VoiceInteractionService#showSession VoiceInteractionService.showSession}. */ |
