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:
@@ -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
|
||||
|
Reference in New Issue
Block a user