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

Commit a67a9bc8 authored by Ray Chen's avatar Ray Chen Committed by Android Git Automerger
Browse files

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

* commit 'c0ba0936':
  Fix 5418759 User should be able to view only the preview of that attached
parents e2c46afe c0ba0936
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());
                }