Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2546,7 +2546,9 @@ public class FilterShowActivity extends AbstractPermissionActivity implements On
        if (resultCode == RESULT_OK) {
            if (requestCode == SELECT_PICTURE) {
                Uri selectedImageUri = data.getData();
                if (selectedImageUri != null) {
                    startLoadBitmap(selectedImageUri);
                }
            } else if (requestCode == SELECT_FUSION_UNDERLAY) {
                Uri underlayImageUri = data.getData();
                // find fusion representation