Skip to content
Commit 254c25f3 authored by Kevin's avatar Kevin
Browse files

Fix NPE from onChildVisibilityChanged.

Removing the child whose visibility changed in
ViewGroup#OnChildVisibilityChanged causes a null pointer exception since
the parent is null immediately after.  This CL prevents that from
keeping the parent stored.

Bug: 117520801
Test: remove child in OnChildVisibilityChanged, observe no crash
Change-Id: Ifd20c2fcba9aee476a7714794a90c7ec9a0b3b84
parent c4cfbf48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment