SnapdragonCamera: Fix NULL pointer exception

There is a corner case that onShutterButtonClick() is called before
camera device is configured. The change will make sure the camera
device exists before continuing the operation.

Change-Id: I2212572ea5c6073c3f62bdd38e83716b2427c87d
CRs-Fixed: 962579
1 file changed