Loading core/java/com/android/internal/widget/PointerLocationView.java +3 −2 Original line number Original line Diff line number Diff line Loading @@ -549,8 +549,9 @@ public class PointerLocationView extends View implements InputDeviceListener { final PointerState ps = mPointers.get(id); final PointerState ps = mPointers.get(id); ps.mCurDown = true; ps.mCurDown = true; ps.mHasBoundingBox = (InputDevice.getDevice(event.getDeviceId()). InputDevice device = InputDevice.getDevice(event.getDeviceId()); getMotionRange(MotionEvent.AXIS_GENERIC_1) != null); ps.mHasBoundingBox = device != null && device.getMotionRange(MotionEvent.AXIS_GENERIC_1) != null; } } final int NI = event.getPointerCount(); final int NI = event.getPointerCount(); Loading Loading
core/java/com/android/internal/widget/PointerLocationView.java +3 −2 Original line number Original line Diff line number Diff line Loading @@ -549,8 +549,9 @@ public class PointerLocationView extends View implements InputDeviceListener { final PointerState ps = mPointers.get(id); final PointerState ps = mPointers.get(id); ps.mCurDown = true; ps.mCurDown = true; ps.mHasBoundingBox = (InputDevice.getDevice(event.getDeviceId()). InputDevice device = InputDevice.getDevice(event.getDeviceId()); getMotionRange(MotionEvent.AXIS_GENERIC_1) != null); ps.mHasBoundingBox = device != null && device.getMotionRange(MotionEvent.AXIS_GENERIC_1) != null; } } final int NI = event.getPointerCount(); final int NI = event.getPointerCount(); Loading