diff options
author | hughchen <hughchen@google.com> | 2020-05-08 10:56:30 +0800 |
---|---|---|
committer | hughchen <hughchen@google.com> | 2020-05-08 10:56:30 +0800 |
commit | 5bd3968452865b5d9ce324e35f604ac9a001b125 (patch) | |
tree | ca8078a3c886311946e6f94830a359871e3d55de /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 73407d6559f4cfbe3579772a2aef385509409d15 (diff) |
Fix null point exception on MediaDevice
This CL before, since we use mMediaDevices to do array compare
directly if other thread clear or change mMediaDevices will
cause the crash.
This CL will new a mMediaDevices array to do array compare to fix
this exception, also will use synchronized to protect mMediaDevices.
Bug: 155933396
Test: make -j42 RunSettingsLibRoboTests
Change-Id: I2b15a0ede7c77f2c82f32d26ff2237109808a5a2
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions