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
2 files changed