Skip to content

Commit 207d67b

Browse files
committed
Suppress warnings in ImaUtil
ImaUtil calls VideoProgressUpdate.equals() which is annotated as hidden, which causes lint errors with gradle. #minor-release PiperOrigin-RevId: 504306210 (cherry picked from commit 5f6e172)
1 parent 846258b commit 207d67b

File tree

1 file changed

+1
-0
lines changed
  • libraries/exoplayer_ima/src/main/java/androidx/media3/exoplayer/ima

1 file changed

+1
-0
lines changed

libraries/exoplayer_ima/src/main/java/androidx/media3/exoplayer/ima/ImaUtil.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ public static Looper getImaLooper() {
270270
}
271271

272272
/** Returns a human-readable representation of a video progress update. */
273+
@SuppressWarnings("RestrictedApi") // VideoProgressUpdate.equals() is annotated as hidden.
273274
public static String getStringForVideoProgressUpdate(VideoProgressUpdate videoProgressUpdate) {
274275
if (VideoProgressUpdate.VIDEO_TIME_NOT_READY.equals(videoProgressUpdate)) {
275276
return "not ready";

0 commit comments

Comments
 (0)