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

Commit 0c851297 authored by Ben Kwa's avatar Ben Kwa
Browse files

Rename ACTION_BROWSE_DOCUMENT_ROOT -> ACTION_BROWSE

BUG=23137963

Change-Id: I32e995b4421de4c90faa4e80a095c7df2f7aee25
parent ff8a6801
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -436,19 +436,19 @@ public class PrivateVolumeSettings extends SettingsPreferenceFragment {

            } break;
            case R.string.storage_detail_images: {
                intent = new Intent(DocumentsContract.ACTION_BROWSE_DOCUMENT_ROOT);
                intent = new Intent(DocumentsContract.ACTION_BROWSE);
                intent.setData(DocumentsContract.buildRootUri(AUTHORITY_MEDIA, "images_root"));
                intent.addCategory(Intent.CATEGORY_DEFAULT);

            } break;
            case R.string.storage_detail_videos: {
                intent = new Intent(DocumentsContract.ACTION_BROWSE_DOCUMENT_ROOT);
                intent = new Intent(DocumentsContract.ACTION_BROWSE);
                intent.setData(DocumentsContract.buildRootUri(AUTHORITY_MEDIA, "videos_root"));
                intent.addCategory(Intent.CATEGORY_DEFAULT);

            } break;
            case R.string.storage_detail_audio: {
                intent = new Intent(DocumentsContract.ACTION_BROWSE_DOCUMENT_ROOT);
                intent = new Intent(DocumentsContract.ACTION_BROWSE);
                intent.setData(DocumentsContract.buildRootUri(AUTHORITY_MEDIA, "audio_root"));
                intent.addCategory(Intent.CATEGORY_DEFAULT);