diff options
| author | 2023-03-28 13:59:05 +0000 | |
|---|---|---|
| committer | 2023-03-29 17:12:56 +0000 | |
| commit | f495f7f8c9180a341da37dc4727b20a1808d9469 (patch) | |
| tree | 5280c9a2299bf5676571e25e822182415729f4e7 /libs/androidfw/ZipFileRO.cpp | |
| parent | 9ed16e1beed64986cb0847439ffeae1dc2f208fc (diff) | |
Reset isFoldHandled
isFoldHandled was never getting reset to true. This caused a potential
race condition when:
1. AOD enabled
2. Unfold the device
3. Fold the device.
4. Cover prox sensor to turn display off, such as a person would when
putting the phone in purse or pocket
5. Take phone out and immediately unlock with SideFPS
This was causing onScreenOn to run, and FoldAodAnimationController to
rerun `showAodUI` incorrectly. If the timing was just right, this
would force the device into KEYGUARD state after being unlocked.
Fixes: 273681779
Test: manual, need to do the steps above
Test: atest FoldAodAnimationControllerTest
Change-Id: I09dc417d03763ede4d2bea1c7d51183503170a40
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions