diff options
| author | 2023-01-23 19:01:20 -0800 | |
|---|---|---|
| committer | 2023-01-25 02:43:40 +0000 | |
| commit | 151a5e408a4b4f140fd11e89b8fb5f9090530b13 (patch) | |
| tree | ea8dc9e6f3d5304a18a70d42872ba2de4bfa9cf7 /libs/androidfw/AssetsProvider.cpp | |
| parent | 7d6c291d61aaa7e2c067ef385e954889fd6a94fc (diff) | |
Reset mAssistantVisible state whenever device starts going to sleep
Fixes: 266501461
Test: atest KeyguardUpdateMonitorTest
Test: manual
1. Enable AoD
2. Enable face & fp
3. Enable voice assistant
4. Keep the device away from face
5. Go to AoD
6. Trigger assistant with "Ok Google"
7. Once device wakes up and assistant is listening, say "set an alarm"
8. Face auth will trigger, but don't unlock the device.
9. Wait until face auth stops
10. Press power button to go to AoD while assistant is visisble
11. Face auth shouldn't run after the devices goes into AoD
Change-Id: Idffe08420baec1eb05b6b3f81d0381bb3cddf193
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions