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

Commit 3b436b15 authored by Svet Ganov's avatar Svet Ganov Committed by android-build-merger
Browse files

Merge "Check for non-null parent before delegating to it am: 3a74243a" into oc-dev-plus-aosp

am: 37933ae2

Change-Id: I264ce0527b8d4b4cc751487a9c14eda35cf733fe
parents e9cf2eb6 37933ae2
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -6970,8 +6970,11 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
            dispatchPopulateAccessibilityEvent(event);
        }
        // In the beginning we called #isShown(), so we know that getParent() is not null.
        ViewParent parent = getParent();
        if (parent != null) {
            getParent().requestSendAccessibilityEvent(this, event);
        }
    }
    /**
     * Dispatches an {@link AccessibilityEvent} to the {@link View} first and then