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

Commit a6bc98c0 authored by Prashant Malani's avatar Prashant Malani Committed by android-build-merger
Browse files

Let Rotary encoder events skip IME

am: fecbc67e

Change-Id: If46602275688cceef347b593571e50196bfdaba1
parents d2e5c205 fecbc67e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -6039,7 +6039,8 @@ public final class ViewRootImpl implements ViewParent,
                return true;
            }
            return mEvent instanceof MotionEvent
                    && mEvent.isFromSource(InputDevice.SOURCE_CLASS_POINTER);
                    && (mEvent.isFromSource(InputDevice.SOURCE_CLASS_POINTER)
                        || mEvent.isFromSource(InputDevice.SOURCE_ROTARY_ENCODER));
        }

        public boolean shouldSendToSynthesizer() {