Camera: Checking for null before creating bitmap

We dont get bitmap data when image is captured in raw format.
So downsample of the captured image, which is bitmap  will be null.
Added null check for bitmap before calling createBitmap function.

Change-Id: I9261218bbb27a9a7671f62fec72885eed1376912
CRs-Fixed: 573544
1 file changed