Commit c1f1eb78 by tonihei Committed by Marc Baechinger

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 0ed53215)
parent 31e6ba9c
...@@ -1280,7 +1280,7 @@ public final class MediaPeriodQueueTest { ...@@ -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();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment