commit | d4b8d2179f17a261b348b8a38cbc5278f8b4d45d | [log] [tgz] |
---|---|---|
author | Shik Chen <shik@google.com> | Thu Oct 25 18:00:27 2018 +0800 |
committer | Shik Chen <shik@google.com> | Wed Nov 14 08:10:04 2018 +0000 |
tree | b2c201acf109c4d12e47d145317a3286d27bcb1a | |
parent | b106b5c863aab4adb5b7a22430fc89546b97c1b8 [diff] |
Camera: Fix a crash in removeCamera() mCameraInfoMap is a KeyedVector, we should use .valueFor() instead of operator[] to get the value from a key. Bug: 118364955 Bug: 118359878 Bug: 77833131 Test: Plug and unplug the external camera 10+ times. Change-Id: Ibf48e5a78b16bdeba08b02242379eaf571fc76cb