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

Commit 876e9771 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Consider swipes on the unlock icon as intent for device entry" into sc-dev

parents 65c43136 80db54b9
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;
                }