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

Commit bacc8b8f authored by Automerger Merge Worker's avatar Automerger Merge Worker Committed by Android (Google) Code Review
Browse files

Merge "Merge "Fix a bug to handle the touch ACTION_DOWN properly when inline...

Merge "Merge "Fix a bug to handle the touch ACTION_DOWN properly when inline suggestion view is obscured" into rvc-dev am: 931c0ce4 am: 51d73161" into rvc-d1-dev-plus-aosp
parents c9428702 7d7a0bc6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -58,7 +58,9 @@ public class InlineSuggestionRoot extends FrameLayout {
            case MotionEvent.ACTION_DOWN: {
                mDownX = event.getX();
                mDownY = event.getY();
            } break;
            }
            // Intentionally fall through to the next case so that when the window is obscured
            // we transfer the touch to the remote IME window and don't handle it locally.

            case MotionEvent.ACTION_MOVE: {
                final float distance = MathUtils.dist(mDownX, mDownY,