diff options
author | Winson Chung <winsonc@google.com> | 2017-06-01 15:35:48 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2017-06-01 22:58:01 +0000 |
commit | fc3ec4c5e689e4d64f0c24d42a3b4b31ee4621c4 (patch) | |
tree | 3014cee75363c645e1b90b332c496cdf67993488 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 4e73123c5238000afed9c11ec1d2e52a8114c117 (diff) |
Prevent showing voice session when it is already queued to be hidden.
- It is possible for the session to be requested to be hidden before it
gets the message to be shown and completes showing. This leads to an
inconsistency where the voice interaction service implementation will be
in a different state than the system for the session. Instead, we can
cancel any pending show messages, and also clean up the pending show
callback list immediately when the session is hidden.
- Also fixing up some error message codes when starting the assistant
activity.
Bug: 38379130
Test: android.server.cts.ActivityManagerAssistantStackTests
Test: CtsVoiceInteractionTestCases
Test: CtsAlarmClockTestCases
Change-Id: I0d0e9c024367a47bda82d6a29ca89e18b7d69527
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions