Merge "Fix double tap Translucent Letterboxed Activities" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ba7143112d
@@ -273,8 +273,8 @@ public class Letterbox {
|
|||||||
@Override
|
@Override
|
||||||
public boolean onDoubleTapEvent(MotionEvent e) {
|
public boolean onDoubleTapEvent(MotionEvent e) {
|
||||||
if (e.getAction() == MotionEvent.ACTION_UP) {
|
if (e.getAction() == MotionEvent.ACTION_UP) {
|
||||||
mDoubleTapCallbackX.accept((int) e.getX());
|
mDoubleTapCallbackX.accept((int) e.getRawX());
|
||||||
mDoubleTapCallbackY.accept((int) e.getY());
|
mDoubleTapCallbackY.accept((int) e.getRawY());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user