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

Commit 44931559 authored by Adrian Roos's avatar Adrian Roos Committed by android-build-merger
Browse files

Merge "AOD: Fix LockIcon click handler" into oc-mr1-dev

am: a528ee13

Change-Id: Ic5dddc98fc58abc7c813f58b79df6b2ab38e4f2e
parents dd4e76b6 a528ee13
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -207,9 +207,9 @@ public class LockIcon extends KeyguardAffordanceView implements OnUserInfoChange
        if (mAccessibilityController == null) {
            return;
        }
        boolean clickToUnlock = mAccessibilityController.isTouchExplorationEnabled();
        boolean clickToUnlock = mAccessibilityController.isAccessibilityEnabled();
        boolean clickToForceLock = mUnlockMethodCache.isTrustManaged()
                && !mAccessibilityController.isAccessibilityEnabled();
                && !clickToUnlock;
        boolean longClickToForceLock = mUnlockMethodCache.isTrustManaged()
                && !clickToForceLock;
        setClickable(clickToForceLock || clickToUnlock);