mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-01-10 17:30:31 +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 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)
|
* @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;
|
this.currentInfo = info;
|
||||||
|
|
||||||
// TODO: Adapt this code when the downloader support other types of stream deliveries
|
// TODO: Adapt this code when the downloader support other types of stream deliveries
|
||||||
|
Loading…
Reference in New Issue
Block a user