Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c27f2ec authored by Massimo Carli's avatar Massimo Carli
Browse files

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
parent d5d35fb2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;