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

This commit is contained in:
TreeHugger Robot
2021-08-10 00:34:49 +00:00
committed by Android (Google) Code Review

View File

@@ -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;
}