diff options
author | Daniel Moore <dtmoore916@gmail.com> | 2017-02-16 08:57:03 -0600 |
---|---|---|
committer | Peng Xu <pengxu@google.com> | 2017-04-20 15:01:12 -0700 |
commit | 1ff9e7ae00cf4af2eb5170b96471dda5a8211832 (patch) | |
tree | 79dcd74cd86fcabf3e52d014eebdc3933c09481b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 6a08dfab0e2288245e0290703c63ea4b308559a6 (diff) |
sensors: fix concurrent modification exception
The sensor listener can be removed in unregisterListener
inside of the for loop. This change makes a copy of the
listeners and iterates over the copy.
Test: builds
Bug: 37543280
Change-Id: Ie9b7b9afb6994d9627f67c4b3bfbdfb305f5583e
Signed-off-by: Daniel Moore <dtmoore916@gmail.com>
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions