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

Commit c0ba0936 authored by Ray Chen's avatar Ray Chen Committed by Wei Huang
Browse files

Fix 5418759 User should be able to view only the preview of that attached

Change-Id: Ie3eb2583f7753fc38db3d59aca544a95112010c7
parent 6172a060
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -186,7 +186,9 @@ public final class Gallery extends AbstractGalleryActivity {
            } else {
                Path itemPath = dm.findPathByUri(uri);
                Path albumPath = dm.getDefaultSetOf(itemPath);
                if (albumPath != null) {
                // TODO: Make this parameter public so other activities can reference it.
                boolean singleItemOnly = intent.getBooleanExtra("SingleItemOnly", false);
                if (!singleItemOnly && albumPath != null) {
                    data.putString(PhotoPage.KEY_MEDIA_SET_PATH,
                            albumPath.toString());
                }