Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a6b42db1 authored by lbill's avatar lbill
Browse files

Disable recent only when face enrolled and secure applications launched

The new appraoach add more consolidate conditions for DISABLE_RECENT
- mCameraGestureIntercepted = true
- isKeyguard occluded = true
- isFaceEnrolled() = true
- is screen lock = PIN/PATTERN/PASSWORD

Bug: 290710551
Test: Setup screen lock to secure mode, manual locked keyguard,
    double click trigger GCA, disable recents only when face enrolled.
Test: Setup screen lock to secure mode, do not enroll face,
    double click trigger GCA, recents does not disabled.
Test: Concurrently unlock throught fingerprint and double click to
    trigger GCA, make sure exit GCA would reset recents
Change-Id: I05961e37b086bd37c3add9ed63754b9d95531f00
parent 3490e6fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment