diff options
author | Shik Chen <shik@google.com> | 2018-10-25 18:00:27 +0800 |
---|---|---|
committer | Shik Chen <shik@google.com> | 2018-11-14 08:10:04 +0000 |
commit | d4b8d2179f17a261b348b8a38cbc5278f8b4d45d (patch) | |
tree | b2c201acf109c4d12e47d145317a3286d27bcb1a /sensors/2.0/default/Sensors.cpp | |
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
Diffstat (limited to 'sensors/2.0/default/Sensors.cpp')
0 files changed, 0 insertions, 0 deletions