From 17724a901c10535d99436d8bdb59bc4f9cc574cd Mon Sep 17 00:00:00 2001 From: litetex <40789489+litetex@users.noreply.github.com> Date: Mon, 29 Nov 2021 21:03:59 +0100 Subject: [PATCH] Removed annotations due to wrong warnings --- .../schabi/newpipe/streams/io/NoFileManagerSafeGuard.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/streams/io/NoFileManagerSafeGuard.java b/app/src/main/java/org/schabi/newpipe/streams/io/NoFileManagerSafeGuard.java index 1d14d1669..09ef16d47 100644 --- a/app/src/main/java/org/schabi/newpipe/streams/io/NoFileManagerSafeGuard.java +++ b/app/src/main/java/org/schabi/newpipe/streams/io/NoFileManagerSafeGuard.java @@ -22,7 +22,7 @@ public final class NoFileManagerSafeGuard { * Shows an alert dialog when no file-manager is found. * @param context Context */ - private static void showActivityNotFoundAlert(@NonNull final Context context) { + private static void showActivityNotFoundAlert(final Context context) { if (context == null) { throw new IllegalArgumentException( "Unable to open no file manager alert dialog: Context is null"); @@ -54,8 +54,8 @@ public final class NoFileManagerSafeGuard { public static void launchSafe( final ActivityResultLauncher activityResultLauncher, final I input, - @NonNull final String tag, - @NonNull final Context context + final String tag, + final Context context ) { try { activityResultLauncher.launch(input);