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 e8bcdf437ee3f8df9622615960f6b754536220bc)
This commit is contained in:
tonihei 2022-06-13 11:00:12 +00:00 committed by Marc Baechinger
parent f6b987d8ec
commit b8c8a41342

View File

@ -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();
} }