add null check when cropping a bitmap.

bug: 5860912
Change-Id: Ic456b5bbaf2a33a903ccd942622143313fc1f936
1 file changed