Fix double tap Translucent Letterboxed Activities
Test: Launch a Translucent Activity in Letterbox and check that double click allows to move it in the right direction. Fixes: 243644291, 243644291 Change-Id: I2733e3c89b9387010a049073fe60d2f6e2559ceb
This commit is contained in:
@@ -273,8 +273,8 @@ public class Letterbox {
|
||||
@Override
|
||||
public boolean onDoubleTapEvent(MotionEvent e) {
|
||||
if (e.getAction() == MotionEvent.ACTION_UP) {
|
||||
mDoubleTapCallbackX.accept((int) e.getX());
|
||||
mDoubleTapCallbackY.accept((int) e.getY());
|
||||
mDoubleTapCallbackX.accept((int) e.getRawX());
|
||||
mDoubleTapCallbackY.accept((int) e.getRawY());
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user