Fix NPE if the device has only one camera.

bug:5620872
Change-Id: I4ee2aa85e73c53d6a72f0839ed3bf31bc14c586e
1 file changed