summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorKevin Han <kevhan@google.com>2020-05-18 15:14:47 -0700
committerKevin Han <kevhan@google.com>2020-05-19 15:35:08 -0700
commitc12d38f0b36ba095398d93b9c1198cd8dcb2f997 (patch)
treeacd494b8db689d4e5159c0909b9dfa886550f991 /tools/aapt2/java/JavaClassGenerator.cpp
parent235f1db1c1a7811add242a81867c543133855edc (diff)
Fix NPE when content visibility changes
Content view inactive listeners can modify the list of listeners indirectly by adding/removing content views, so we copy the list so that the iteration doesn't run into any undefined bevavior. Bug: 156636869 Test: manual, atest Change-Id: Ie13e81a3217a698fe60db4b11b45e0336cb73b69
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions