commit | c12d38f0b36ba095398d93b9c1198cd8dcb2f997 | [log] [tgz] |
---|---|---|
author | Kevin Han <kevhan@google.com> | Mon May 18 15:14:47 2020 -0700 |
committer | Kevin Han <kevhan@google.com> | Tue May 19 15:35:08 2020 -0700 |
tree | acd494b8db689d4e5159c0909b9dfa886550f991 | |
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