diff options
| author | 2023-07-18 04:29:29 +0000 | |
|---|---|---|
| committer | 2023-07-18 13:39:32 +0000 | |
| commit | 5e7091789239d3e0818e22e73f2cad30b1031af7 (patch) | |
| tree | 841e2d07ccb1a90d7184f376479e7c1d03326644 /libs/androidfw/FileStream.cpp | |
| parent | 956c4a265f90235da91e0fe4e78ef8a16146c080 (diff) | |
Consolidate DISABLE_RECENT condition in adjustStatusBarLocked()
Due to `cameraGestureTriggered signal` && `Secure Camera launched`
are asynchronize, we need to do more check in adjustStatusBarLocked()
1. Consolidate "mPowerGestureIntercepted && mOccluded && isSecure()"
for DISABLE_RECENT in adjustStatusBarLocked()
2. Do not disable recents key when `screen lock option` is `Swipe`
Note:
CUJ : "Fingerprint | Face unlock" + "Double tap power to launch GCA"
Timing issue : get the power gesture attempt and then the non-secure
camera was launched(at the time keyguard has gone)
Bug: 284669723
Bug: 288201661
Bug: 289334181
Test: Setup screen lock and fingerprint, then double tap power key
launch GCA & Figerprint/Face auth concurrently, observe the
DISABLE_RECENT should be reset after unlocked
Test: Setup screen lock to 'swipe', then double tap power key
launch camera should not DISABLE_RECENT
Test: atest LaunchCameraFromHomeIn3ButtonMode
Test: atest LaunchCameraFromLockScreenIn3ButtonMode
Change-Id: I089a0dfd2e3cd1c501faf70fb25e496f5899ac74
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions