diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 76d7982f5c..6779da254b 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -38,6 +38,9 @@ * Cast Extension: * Test Utilities: * Remove deprecated symbols: + * Remove deprecated `DownloadNotificationHelper.buildProgressNotification` + method, use a non deprecated method that takes a `notMetRequirements` + parameter instead. ## 1.2 diff --git a/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/offline/DownloadNotificationHelper.java b/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/offline/DownloadNotificationHelper.java index e0fe53ef65..856942fec8 100644 --- a/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/offline/DownloadNotificationHelper.java +++ b/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/offline/DownloadNotificationHelper.java @@ -51,21 +51,6 @@ public final class DownloadNotificationHelper { new NotificationCompat.Builder(context.getApplicationContext(), channelId); } - /** - * @deprecated Use {@link #buildProgressNotification(Context, int, PendingIntent, String, List, - * int)}. - */ - @Deprecated - public Notification buildProgressNotification( - Context context, - @DrawableRes int smallIcon, - @Nullable PendingIntent contentIntent, - @Nullable String message, - List downloads) { - return buildProgressNotification( - context, smallIcon, contentIntent, message, downloads, /* notMetRequirements= */ 0); - } - /** * Returns a progress notification for the given downloads. *