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

Commit 37933ae2 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

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

parents 01d3ad5c 162a93ca
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