From 52963ba37dd3a390425fb2f962476b604c3e2a83 Mon Sep 17 00:00:00 2001 From: Zhidong Piao Date: Thu, 20 Oct 2022 09:35:21 +1100 Subject: [PATCH] add a nonnull annotation to the context parameter in the DownloadDialog constructor. --- .../main/java/org/schabi/newpipe/download/DownloadDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/schabi/newpipe/download/DownloadDialog.java b/app/src/main/java/org/schabi/newpipe/download/DownloadDialog.java index 42b2c695c..2975fe43a 100644 --- a/app/src/main/java/org/schabi/newpipe/download/DownloadDialog.java +++ b/app/src/main/java/org/schabi/newpipe/download/DownloadDialog.java @@ -159,7 +159,7 @@ public class DownloadDialog extends DialogFragment * @param context the context to use just to obtain preferences and strings (will not be stored) * @param info the info from which to obtain downloadable streams and other info (e.g. title) */ - public DownloadDialog(final Context context, @NonNull final StreamInfo info) { + public DownloadDialog(@NonNull final Context context, @NonNull final StreamInfo info) { this.currentInfo = info; // TODO: Adapt this code when the downloader support other types of stream deliveries