commit | 254c25f347a321b687c3b83c943640d565f7578d | [log] [tgz] |
---|---|---|
author | Kevin <kevhan@google.com> | Tue Oct 09 18:38:13 2018 -0700 |
committer | Kevin <kevhan@google.com> | Tue Oct 09 18:51:53 2018 -0700 |
tree | 48d0aa7697812e234148495405b5a776a34542a2 | |
parent | c4cfbf48c2d1a26f3802d5de653944acb8c99d63 [diff] |
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