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

Commit 79625c39 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

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

Merge "Fix a bug to handle the touch ACTION_DOWN properly when inline suggestion view is obscured" into rvc-dev am: 931c0ce4 am: 5c14c533 am: 44150e95 am: 44d367fc

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11712623

Change-Id: I1c971e56e649b29ef340dd59ac179abe0984edff
parents 7933bc61 44d367fc
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,