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

Commit e5a8a17e authored by Steve McKay's avatar Steve McKay
Browse files

Remove the EXTRA_FANCY_FEATURES flag...

Which is no-longer necessary.

Test: build and run.

Change-Id: I515c4a1bf78cbf4d54304bf4ebe1059a596c95a0
parent 12ffdd86
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -442,7 +442,6 @@ public class VolumeInfo implements Parcelable {
        // note that docsui treats this as *force* show advanced. So sending
        // note that docsui treats this as *force* show advanced. So sending
        // false permits advanced to be shown based on user preferences.
        // false permits advanced to be shown based on user preferences.
        intent.putExtra(DocumentsContract.EXTRA_SHOW_ADVANCED, isPrimary());
        intent.putExtra(DocumentsContract.EXTRA_SHOW_ADVANCED, isPrimary());
        intent.putExtra(DocumentsContract.EXTRA_FANCY_FEATURES, true);
        return intent;
        return intent;
    }
    }


+0 −3
Original line number Original line Diff line number Diff line
@@ -102,9 +102,6 @@ public final class DocumentsContract {
    /** {@hide} */
    /** {@hide} */
    public static final String EXTRA_SHOW_ADVANCED = "android.content.extra.SHOW_ADVANCED";
    public static final String EXTRA_SHOW_ADVANCED = "android.content.extra.SHOW_ADVANCED";


    /** {@hide} */
    public static final String EXTRA_FANCY_FEATURES = "android.content.extra.FANCY";

    /** {@hide} */
    /** {@hide} */
    public static final String EXTRA_TARGET_URI = "android.content.extra.TARGET_URI";
    public static final String EXTRA_TARGET_URI = "android.content.extra.TARGET_URI";


+0 −1
Original line number Original line Diff line number Diff line
@@ -49,7 +49,6 @@ public class ReceiverActivity extends Activity {
                final Intent intent = new Intent(DocumentsContract.ACTION_BROWSE);
                final Intent intent = new Intent(DocumentsContract.ACTION_BROWSE);
                intent.setData(uri);
                intent.setData(uri);
                intent.addCategory(Intent.CATEGORY_DEFAULT);
                intent.addCategory(Intent.CATEGORY_DEFAULT);
                intent.putExtra(DocumentsContract.EXTRA_FANCY_FEATURES, true);
                this.startActivity(intent);
                this.startActivity(intent);
            } catch (IOException exception) {
            } catch (IOException exception) {
                Log.e(MtpDocumentsProvider.TAG, "Failed to open device", exception);
                Log.e(MtpDocumentsProvider.TAG, "Failed to open device", exception);