Loading core/java/android/view/ViewRootImpl.java +2 −1 Original line number Diff line number Diff line Loading @@ -4281,7 +4281,8 @@ public final class ViewRootImpl implements ViewParent, // Enter touch mode on down or scroll. final int action = event.getAction(); if (action == MotionEvent.ACTION_DOWN || action == MotionEvent.ACTION_SCROLL) { if (event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN) && (action == MotionEvent.ACTION_DOWN || action == MotionEvent.ACTION_SCROLL)) { ensureTouchMode(true); } Loading Loading
core/java/android/view/ViewRootImpl.java +2 −1 Original line number Diff line number Diff line Loading @@ -4281,7 +4281,8 @@ public final class ViewRootImpl implements ViewParent, // Enter touch mode on down or scroll. final int action = event.getAction(); if (action == MotionEvent.ACTION_DOWN || action == MotionEvent.ACTION_SCROLL) { if (event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN) && (action == MotionEvent.ACTION_DOWN || action == MotionEvent.ACTION_SCROLL)) { ensureTouchMode(true); } Loading