Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8e4c7e4 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 23127 into eclair

* changes:
  Fixing bug 2086021. AccessiblityService could sometimes get a null pointer exception if multiple accessibility services are running and there are several events all happening within a short period of time.
parents 9e6842ca 85f6fb71
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -211,8 +211,10 @@ public abstract class AccessibilityService extends Service {
            switch (message.what) {
                case DO_ON_ACCESSIBILITY_EVENT :
                    AccessibilityEvent event = (AccessibilityEvent) message.obj;
                    if (event != null){
                      mTarget.onAccessibilityEvent(event);
                      event.recycle();
                    }
                    return;
                case DO_ON_INTERRUPT :
                    mTarget.onInterrupt();