summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Shawn Lee <syeonlee@google.com> 2024-02-22 12:49:23 -0800
committer Shawn Lee <syeonlee@google.com> 2024-04-23 06:54:26 +0000
commitf380fff3c32fef3cfb2f6127b227e7d611690526 (patch)
tree1a9e3d57aeaacaac7b310886edb2a35d02782b21 /api/api.go
parent8ff457cd16b393e94fcc28e02cb1343b145d1a52 (diff)
Stay registered to proximity sensor while activities are occluding keyguard
When a phone call is received while the device's prox sensor is covered (such as when it's face down on a table or in a pocket), we run falsing on all gestures while in the activity as if the sensor is still covered, because we unregister from further updates from the prox sensor once StatusBarState changes from KEYGUARD. This change keeps us subscribed to the prox sensor so we aren't left with stale state in this scenario. Bug: 297497511 Test: added a unit test, passes existing tests for sensor Test: manually checked we still unregister from proximity sensor updates when unlocked, in AOD, in lockscreen shade/QS, in bouncer Flag: NONE Change-Id: I55f1472593d37f47574d4bf3c40ca7d69f86bad8 Merged-In: I55f1472593d37f47574d4bf3c40ca7d69f86bad8
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions