summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author lbill <lbill@google.com> 2023-07-18 04:29:29 +0000
committer Bill Lin <lbill@google.com> 2023-07-19 10:47:32 +0000
commit1b38955585d9d50886452bd39d3b6dacc9162326 (patch)
tree1ed6796eb21dbb3be8452897e706aeb699261a74 /libs/androidfw/StringPool.cpp
parent1f15072672eecfb68841cdea9c8fba0755e27ff5 (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 (cherry picked from commit 5e7091789239d3e0818e22e73f2cad30b1031af7)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions