commit | 2040b56b1e0a93b38a558fa56e4b49970bd4b248 | [log] [tgz] |
---|---|---|
author | Alan Newberger <alann@google.com> | Fri Aug 15 18:18:12 2014 -0700 |
committer | Alan Newberger <alann@google.com> | Fri Aug 15 18:18:12 2014 -0700 |
tree | 76786223ad3c6294fcc77ce179fd6fa6a2e3b177 | |
parent | 886bcc4694071c6bf797d18754021af21a237eb9 [diff] |
Protect Camera2 functions from null CameraDeviceInfo When the underlying camera fails, the camera1 agent returns null for CameraDeviceInfo. Guard against this case where it is used in app upgrading and settings. Bug: 16982203 Change-Id: I7e4686e508993f0d0fc03eaa9e0b5dc312016eae