mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 08:30:44 +00:00
add a nonnull annotation to the context parameter in the DownloadDialog constructor.
This commit is contained in:
parent
10e18ec9ea
commit
52963ba37d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user