Loading core/java/android/view/ViewRootImpl.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -5699,9 +5699,9 @@ public final class ViewRootImpl implements ViewParent, mTranslator.translateEventInScreenToAppWindow(event); mTranslator.translateEventInScreenToAppWindow(event); } } // Enter touch mode if event is coming from a touch screen device. // Enter touch mode on down or scroll from any type of a device. final int action = event.getAction(); final int action = event.getAction(); if (event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)) { if (action == MotionEvent.ACTION_DOWN || action == MotionEvent.ACTION_SCROLL) { ensureTouchMode(true); ensureTouchMode(true); } } Loading Loading
core/java/android/view/ViewRootImpl.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -5699,9 +5699,9 @@ public final class ViewRootImpl implements ViewParent, mTranslator.translateEventInScreenToAppWindow(event); mTranslator.translateEventInScreenToAppWindow(event); } } // Enter touch mode if event is coming from a touch screen device. // Enter touch mode on down or scroll from any type of a device. final int action = event.getAction(); final int action = event.getAction(); if (event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)) { if (action == MotionEvent.ACTION_DOWN || action == MotionEvent.ACTION_SCROLL) { ensureTouchMode(true); ensureTouchMode(true); } } Loading