commit | 26c2f8d3207dc9d8da054af0f6e74b174caa9423 | [log] [tgz] |
---|---|---|
author | Evan Severson <evanseverson@google.com> | Fri Jun 04 10:04:58 2021 -0700 |
committer | Evan Severson <evanseverson@google.com> | Mon Jun 07 13:25:25 2021 -0700 |
tree | 7743431ec8fc712d91d1f1e9990a557eb00e786b | |
parent | 7a19e4a94ecbc1e6f02a3fe5f67c98b90bebec01 [diff] |
Delay unmuting sensor when device is unlocked The sensor privacy service also checks if the device is locked before unmuting as an extra layer of security. It appears that the callback when requesting unlock is invoked before the state in KeyguardManager is updatd so we need to delay our call to unmute. Test: Set pin and unblock camera Fixes: 189946442 Change-Id: Ic9bf1a6abb9073acb11d9b569efcc665eacff63f