From e8bcdf437ee3f8df9622615960f6b754536220bc Mon Sep 17 00:00:00 2001 From: tonihei Date: Mon, 13 Jun 2022 11:00:12 +0000 Subject: [PATCH] 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 --- .../java/androidx/media3/exoplayer/MediaPeriodQueueTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/exoplayer/src/test/java/androidx/media3/exoplayer/MediaPeriodQueueTest.java b/libraries/exoplayer/src/test/java/androidx/media3/exoplayer/MediaPeriodQueueTest.java index 17ff2cfc19..155450ec7e 100644 --- a/libraries/exoplayer/src/test/java/androidx/media3/exoplayer/MediaPeriodQueueTest.java +++ b/libraries/exoplayer/src/test/java/androidx/media3/exoplayer/MediaPeriodQueueTest.java @@ -1286,7 +1286,7 @@ public final class MediaPeriodQueueTest { countDownLatch.countDown(); }, /* mediaTransferListener= */ null, - new PlayerId()); + PlayerId.UNSET); if (!countDownLatch.await(/* timeout= */ 2, SECONDS)) { fail(); }