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

pull/9143/head
Zhidong Piao 2022-10-20 09:35:21 +11:00
rodzic 10e18ec9ea
commit 52963ba37d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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