Merge "Fix a bug to handle the touch ACTION_DOWN properly when inline suggestion view is obscured" into rvc-dev am: 931c0ce463 am: 5c14c53394
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11712623 Change-Id: I80283929a52e6994463f35e6a38ff1038e3cfd6b
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user