summaryrefslogtreecommitdiff
path: root/services/coverage/java
diff options
context:
space:
mode:
author Joanne Chung <joannechung@google.com> 2022-12-22 08:18:14 +0000
committer Joanne Chung <joannechung@google.com> 2022-12-22 12:44:23 +0000
commitfdca2fb83b3ca3a1ce842fd10c595bf2199ff08b (patch)
tree6090ac44b05a794d5250095462b66646d9a59100 /services/coverage/java
parent0a30707b174266d6df859d7a61e449eea9b31ab2 (diff)
Do not dismiss session ui if the close dialog reason is assist
When assistant is launched from the hardware button, it will try to close system dialog with assist reason and launch a new UI again. From the current logic, the voice system service doesn't filter the assist reason to hide itself. If the session already exists, it will hide itself and get another onShow immediately. This causes unnecessary ui animations for hide/show from the user perspective. To fix it, this change will filter the assist reason to hide the session. Bug: 257275314 Test: atest CtsVoiceInteractionTestCases Test: use hotware button to trigger assistant and monitor the animation status Change-Id: Ibe636ad0b6776a1dbdf7f709a9ef5e804c6b015a
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions