commit | 5bd3968452865b5d9ce324e35f604ac9a001b125 | [log] [tgz] |
---|---|---|
author | hughchen <hughchen@google.com> | Fri May 08 10:56:30 2020 +0800 |
committer | hughchen <hughchen@google.com> | Fri May 08 10:56:30 2020 +0800 |
tree | ca8078a3c886311946e6f94830a359871e3d55de | |
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