diff --git a/libraries/exoplayer/src/test/java/androidx/media3/exoplayer/ExoPlayerTest.java b/libraries/exoplayer/src/test/java/androidx/media3/exoplayer/ExoPlayerTest.java index 4f0f802dcad..ceec0b970c6 100644 --- a/libraries/exoplayer/src/test/java/androidx/media3/exoplayer/ExoPlayerTest.java +++ b/libraries/exoplayer/src/test/java/androidx/media3/exoplayer/ExoPlayerTest.java @@ -14474,7 +14474,7 @@ public void repeatingItemWithSameStaticMetadata_keepsMetadata() throws Exception MediaMetadata metadataAfterTransition = player.getMediaMetadata(); player.release(); - assertThat(metadataAfterTransition.title).isEqualTo("title"); + assertThat(metadataAfterTransition.title.toString()).isEqualTo("title"); } @Test