Merge "Fix double tap Translucent Letterboxed Activities" into tm-qpr-dev

This commit is contained in:
Massimo Carli
2022-09-20 16:37:53 +00:00
committed by Android (Google) Code Review

View File

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