Skip to content

Commit

Permalink
Suppress warnings in ImaUtil
Browse files Browse the repository at this point in the history
ImaUtil calls VideoProgressUpdate.equals() which is annotated as hidden,
which causes lint errors with gradle.

#minor-release

PiperOrigin-RevId: 504306210
  • Loading branch information
christosts committed Jan 25, 2023
1 parent 301683a commit 5f6e172
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ public static Looper getImaLooper() {
}

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

0 comments on commit 5f6e172

Please sign in to comment.