Merge "Launch the Gallery app to manage photos from the Storage screen."

This commit is contained in:
TreeHugger Robot
2017-01-17 21:02:56 +00:00
committed by Android (Google) Code Review
2 changed files with 7 additions and 7 deletions

View File

@@ -106,10 +106,8 @@ public class StorageItemPreferenceControllerTest {
any(UserHandle.class));
Intent intent = argumentCaptor.getValue();
assertThat(intent.getAction()).isEqualTo(DocumentsContract.ACTION_BROWSE);
assertThat(intent.getData()).isEqualTo(DocumentsContract.buildRootUri(
"com.android.providers.media.documents",
"images_root"));
assertThat(intent.getType()).isEqualTo("image/*");
assertThat(intent.getAction()).isEqualTo(android.content.Intent.ACTION_VIEW);
}
@Test