summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKevin <kevhan@google.com>2018-10-09 18:38:13 -0700
committerKevin <kevhan@google.com>2018-10-09 18:51:53 -0700
commit254c25f347a321b687c3b83c943640d565f7578d (patch)
tree48d0aa7697812e234148495405b5a776a34542a2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc4cfbf48c2d1a26f3802d5de653944acb8c99d63 (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions