commit | 4a2c7c55492d2fcae1d8bdbf169d4c4fb710e800 | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Thu Jun 09 13:08:59 2016 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Fri Jun 10 10:28:34 2016 -0700 |
tree | 0672113ec5e7527fa241a73a600c5799add055f7 | |
parent | 9675f16bba6837840038aea92e9db5893cecd33e [diff] |
Camera2: Protect MarshalRegistry against concurrent access Multiple CameraMetadataNative objects could be reading and writing to the metadata marshaler registry simultaneously. This can lead to an infinite loop in the HashMap in the worst case, so add synchronization against this. Bug: 29043079 Change-Id: Ic5e9e58a9333b99b4bea87bf790c9fbfadfbbea9