Merge "Let Rotary encoder events skip IME" into cw-f-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1fb9d1a848
@@ -6039,7 +6039,8 @@ public final class ViewRootImpl implements ViewParent,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return mEvent instanceof MotionEvent
|
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() {
|
public boolean shouldSendToSynthesizer() {
|
||||||
|
|||||||
Reference in New Issue
Block a user