commit | 3486ab7a0ca2d444c24101c927664bcb2e29dada | [log] [tgz] |
---|---|---|
author | Emilian Peev <epeev@google.com> | Mon Oct 25 18:24:19 2021 -0700 |
committer | Emilian Peev <epeev@google.com> | Wed Oct 27 21:05:11 2021 +0000 |
tree | 10efcc70cef677b9d523c75e1302fefad71f4fb0 | |
parent | 2bcfe35ee2df052c7891cde30a4eae95e7f098f1 [diff] |
Camera: Avoid possible instability when adding new devices In cases where camera provider is having issues "initializeDeviceInfo" may fail to return valid device information. Try to avoid possible instabilities and check the return parameter before trying to access it. Bug: 204111448 Test: Camera CTS Change-Id: I3561f38cb7e5aacd9f5f62bda77caddb648a2578