Fix NPE if the camera cannot be connected.

bug:5673972
Change-Id: I85587bd982e0af5dd7c3630958e105571d8e12d9
1 file changed