summaryrefslogtreecommitdiff
path: root/sensors/2.0/default/Sensors.cpp
diff options
context:
space:
mode:
authorShik Chen <shik@google.com>2018-10-25 18:00:27 +0800
committerShik Chen <shik@google.com>2018-11-14 08:10:04 +0000
commitd4b8d2179f17a261b348b8a38cbc5278f8b4d45d (patch)
treeb2c201acf109c4d12e47d145317a3286d27bcb1a /sensors/2.0/default/Sensors.cpp
parentb106b5c863aab4adb5b7a22430fc89546b97c1b8 (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