Merge "Check for non-null parent before delegating to it am: 3a74243ae4" into oc-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
37933ae25b
@@ -6970,7 +6970,10 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
||||
dispatchPopulateAccessibilityEvent(event);
|
||||
}
|
||||
// In the beginning we called #isShown(), so we know that getParent() is not null.
|
||||
getParent().requestSendAccessibilityEvent(this, event);
|
||||
ViewParent parent = getParent();
|
||||
if (parent != null) {
|
||||
getParent().requestSendAccessibilityEvent(this, event);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user