mirror of
https://github.com/androidx/media.git
synced 2025-05-04 22:20:47 +08:00
Use correct placeholder PlayerID value in test
The default constructor is only allowed to be called on API < 32 and the test should use the defined UNSET constant to be API independent. #minor-release PiperOrigin-RevId: 454568893 (cherry picked from commit 0ed53215c212753826d93daa7fb503e9aaf4ae8d)
This commit is contained in:
parent
31e6ba9c71
commit
c1f1eb7831
@ -1280,7 +1280,7 @@ public final class MediaPeriodQueueTest {
|
|||||||
countDownLatch.countDown();
|
countDownLatch.countDown();
|
||||||
},
|
},
|
||||||
/* mediaTransferListener= */ null,
|
/* mediaTransferListener= */ null,
|
||||||
new PlayerId());
|
PlayerId.UNSET);
|
||||||
if (!countDownLatch.await(/* timeout= */ 2, SECONDS)) {
|
if (!countDownLatch.await(/* timeout= */ 2, SECONDS)) {
|
||||||
fail();
|
fail();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user