commit | 258fa2669e4ad01e8de4b12b2084924d30e4bb26 | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Wed Jun 27 14:35:46 2018 -0700 |
committer | Po-Chien Hsueh <pchsueh@google.com> | Mon Jul 30 02:34:31 2018 +0000 |
tree | 6bd82d417c9884c64bead434ce8230b25d371c98 | |
parent | 491926c8c64bcfb89bf29c578be07a6ebf7b2980 [diff] |
Camera: Handle duplicate camera Id due to openLegacy support When HAL supports openLegacy, same camera id can be added more than once. Because we now use vector to store API1 compatible camera ids, make sure no duplicate strings are added. Test: Vendor camera app using openLegacy, Camera CTS Bug: 110815837 Bug: 111963599 Change-Id: I327744e102cc75929ebcdf51661f9f4ec7f3acf9 (cherry picked from commit 975a39e9067e8d8f71e74813d0199e0e51556bb8)