diff options
| author | 2023-03-15 18:26:37 +0000 | |
|---|---|---|
| committer | 2023-03-16 13:29:24 +0000 | |
| commit | 8cde92efc12d81530dc29033d712d2c04cd277b3 (patch) | |
| tree | 0d198c90ab6fc11994724ea1b14fb021fbc7b651 /api/api_test.go | |
| parent | 5fe3c3e64ad57e3d6fae52f794dc4c5aea238470 (diff) | |
When posture changes, re-register prox listeners
Listeners that were skipped from registering
because the previous posture didn't support prox
need to be re-registered.
Test: atest PostureDependentProximitySensorTest
Test: enter AOD from the unfolded state and then
close the phone. From AOD in the folded state,
cover the prox sensor => observe that AOD display
turns off after 10+ seconds.
Fixes: 272691904
Change-Id: Ib8a72c2af01a546019ef4a611ca9877e20881346
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions