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

Commit 46e2afec authored by Jeff Sharkey's avatar Jeff Sharkey Committed by android-build-merger
Browse files

Set MIME type when building BROWSE intents. am: 42a4aaab am: ac184d3c

am: 6f5f03b8

Change-Id: Iab359d3b375db98986adf9314b6bec7530326381
parents 7ce38313 6f5f03b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -437,7 +437,7 @@ public class VolumeInfo implements Parcelable {

        final Intent intent = new Intent(DocumentsContract.ACTION_BROWSE);
        intent.addCategory(Intent.CATEGORY_DEFAULT);
        intent.setData(uri);
        intent.setDataAndType(uri, DocumentsContract.Root.MIME_TYPE_ITEM);

        // note that docsui treats this as *force* show advanced. So sending
        // false permits advanced to be shown based on user preferences.