Loading services/accessibility/java/com/android/server/accessibility/AccessibilityInputFilter.java +6 −0 Original line number Diff line number Diff line Loading @@ -275,6 +275,9 @@ class AccessibilityInputFilter extends InputFilter implements EventStreamTransfo private void processBatchedEvents(long frameNanos) { MotionEventHolder current = mEventQueue; if (current == null) { return; } while (current.next != null) { current = current.next; } Loading Loading @@ -403,6 +406,9 @@ class AccessibilityInputFilter extends InputFilter implements EventStreamTransfo } private void disableFeatures() { // Give the features a chance to process any batched events so we'll keep a consistent // event stream processBatchedEvents(Long.MAX_VALUE); if (mMotionEventInjector != null) { mAms.setMotionEventInjector(null); mMotionEventInjector.onDestroy(); Loading Loading
services/accessibility/java/com/android/server/accessibility/AccessibilityInputFilter.java +6 −0 Original line number Diff line number Diff line Loading @@ -275,6 +275,9 @@ class AccessibilityInputFilter extends InputFilter implements EventStreamTransfo private void processBatchedEvents(long frameNanos) { MotionEventHolder current = mEventQueue; if (current == null) { return; } while (current.next != null) { current = current.next; } Loading Loading @@ -403,6 +406,9 @@ class AccessibilityInputFilter extends InputFilter implements EventStreamTransfo } private void disableFeatures() { // Give the features a chance to process any batched events so we'll keep a consistent // event stream processBatchedEvents(Long.MAX_VALUE); if (mMotionEventInjector != null) { mAms.setMotionEventInjector(null); mMotionEventInjector.onDestroy(); Loading