Skip to content

Commit

Permalink
Use correct placeholder PlayerID value in test
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tonihei authored and marcbaechinger committed Jun 13, 2022
1 parent 86a2f29 commit 0ed5321
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@ private static Timeline createMultiPeriodServerSideInsertedTimeline(
countDownLatch.countDown();
},
/* mediaTransferListener= */ null,
new PlayerId());
PlayerId.UNSET);
if (!countDownLatch.await(/* timeout= */ 2, SECONDS)) {
fail();
}
Expand Down

0 comments on commit 0ed5321

Please sign in to comment.