Merge "Consider swipes on the unlock icon as intent for device entry" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
876e9771f7
@@ -514,7 +514,15 @@ public class LockIconViewController extends ViewController<LockIconView> impleme
|
|||||||
if (!wasClickableOnDownEvent()) {
|
if (!wasClickableOnDownEvent()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
onAffordanceClick();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean onFling(MotionEvent e1, MotionEvent e2,
|
||||||
|
float velocityX, float velocityY) {
|
||||||
|
if (!wasClickableOnDownEvent()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
onAffordanceClick();
|
onAffordanceClick();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user