Commit ba099de8 authored by zhuw's avatar zhuw Committed by Arne Coucheron

SDGallery:Fix monkey FC when url from pick activity is null

if url in data of activityResult is null, don't load image

Change-Id: I103d1d431075483ef7cdce1a2bbd6459da69afdc
parent 6d57bca1
......@@ -2546,7 +2546,9 @@ public class FilterShowActivity extends AbstractPermissionActivity implements On
if (resultCode == RESULT_OK) {
if (requestCode == SELECT_PICTURE) {
Uri selectedImageUri = data.getData();
startLoadBitmap(selectedImageUri);
if (selectedImageUri != null) {
startLoadBitmap(selectedImageUri);
}
} else if (requestCode == SELECT_FUSION_UNDERLAY) {
Uri underlayImageUri = data.getData();
// find fusion representation
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment