Loading src/com/android/settings/deviceinfo/PrivateVolumeSettings.java +3 −3 Original line number Original line Diff line number Diff line Loading @@ -436,19 +436,19 @@ public class PrivateVolumeSettings extends SettingsPreferenceFragment { } break; } break; case R.string.storage_detail_images: { 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.setData(DocumentsContract.buildRootUri(AUTHORITY_MEDIA, "images_root")); intent.addCategory(Intent.CATEGORY_DEFAULT); intent.addCategory(Intent.CATEGORY_DEFAULT); } break; } break; case R.string.storage_detail_videos: { 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.setData(DocumentsContract.buildRootUri(AUTHORITY_MEDIA, "videos_root")); intent.addCategory(Intent.CATEGORY_DEFAULT); intent.addCategory(Intent.CATEGORY_DEFAULT); } break; } break; case R.string.storage_detail_audio: { 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.setData(DocumentsContract.buildRootUri(AUTHORITY_MEDIA, "audio_root")); intent.addCategory(Intent.CATEGORY_DEFAULT); intent.addCategory(Intent.CATEGORY_DEFAULT); Loading Loading
src/com/android/settings/deviceinfo/PrivateVolumeSettings.java +3 −3 Original line number Original line Diff line number Diff line Loading @@ -436,19 +436,19 @@ public class PrivateVolumeSettings extends SettingsPreferenceFragment { } break; } break; case R.string.storage_detail_images: { 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.setData(DocumentsContract.buildRootUri(AUTHORITY_MEDIA, "images_root")); intent.addCategory(Intent.CATEGORY_DEFAULT); intent.addCategory(Intent.CATEGORY_DEFAULT); } break; } break; case R.string.storage_detail_videos: { 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.setData(DocumentsContract.buildRootUri(AUTHORITY_MEDIA, "videos_root")); intent.addCategory(Intent.CATEGORY_DEFAULT); intent.addCategory(Intent.CATEGORY_DEFAULT); } break; } break; case R.string.storage_detail_audio: { 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.setData(DocumentsContract.buildRootUri(AUTHORITY_MEDIA, "audio_root")); intent.addCategory(Intent.CATEGORY_DEFAULT); intent.addCategory(Intent.CATEGORY_DEFAULT); Loading