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
This commit is contained in:
parent
8c63ba6fdb
commit
e8bcdf437e
@ -1286,7 +1286,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