diff options
author | Kevin Han <kevhan@google.com> | 2020-05-18 15:14:47 -0700 |
---|---|---|
committer | Kevin Han <kevhan@google.com> | 2020-05-19 15:35:08 -0700 |
commit | c12d38f0b36ba095398d93b9c1198cd8dcb2f997 (patch) | |
tree | acd494b8db689d4e5159c0909b9dfa886550f991 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 235f1db1c1a7811add242a81867c543133855edc (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