Remove DocumentsContract.ACTION_BROWSE.
Test: Code builds and tests pass. Bug: 35760993 Change-Id: I7e540b71a7be60d250ffec899eb5c08941dc24a8
This commit is contained in:
@@ -99,9 +99,10 @@ public class MusicViewHolderControllerTest {
|
||||
verify(mFragment).startActivity(argumentCaptor.capture());
|
||||
Intent intent = argumentCaptor.getValue();
|
||||
|
||||
assertThat(intent.getAction()).isEqualTo(DocumentsContract.ACTION_BROWSE);
|
||||
assertThat(intent.getAction()).isEqualTo(Intent.ACTION_VIEW);
|
||||
assertThat(intent.getData()).isEqualTo(DocumentsContract.buildRootUri(
|
||||
"com.android.providers.media.documents",
|
||||
"audio_root"));
|
||||
assertThat(intent.getType()).isEqualTo(DocumentsContract.Root.MIME_TYPE_ITEM);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user