add a nonnull annotation to the context parameter in the DownloadDialog constructor.

This commit is contained in:
Zhidong Piao 2022-10-20 09:35:21 +11:00
parent 10e18ec9ea
commit 52963ba37d
1 changed files with 1 additions and 1 deletions

View File

@ -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