Merge "Consider swipes on the unlock icon as intent for device entry" into sc-dev am: 876e9771f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15476347 Change-Id: I143d295d612dd462f435ec7972118fa38744b832
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user