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

This replaces the old behavior of opening the Files app and
matches the latest mocks.

Bug: 33199077
Test: settings robo
Change-Id: Id6451300063fcb3f10c6272c2a2fa49fe1384ac5
This commit is contained in:
Daniel Nishi
2017-01-11 18:35:38 -08:00
parent 8f969665e3
commit f7fc304724
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