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

Commit 710382ed authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Consider swipes on the unlock icon as intent for device entry" into...

Merge "Consider swipes on the unlock icon as intent for device entry" into sc-dev am: 876e9771 am: 2bf443ad am: 0a2d40a6

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15476347

Change-Id: I746f18aad8311f9b2e7599733c25386f553d7927
parents f03e71b0 0a2d40a6
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -514,7 +514,15 @@ public class LockIconViewController extends ViewController<LockIconView> impleme
                    if (!wasClickableOnDownEvent()) {
                        return false;
                    }
                    onAffordanceClick();
                    return true;
                }

                public boolean onFling(MotionEvent e1, MotionEvent e2,
                        float velocityX, float velocityY) {
                    if (!wasClickableOnDownEvent()) {
                        return false;
                    }
                    onAffordanceClick();
                    return true;
                }