File tree Expand file tree Collapse file tree
app/src/main/java/org/schabi/newpipe/streams/io Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ private NoFileManagerSafeGuard() {
2222 * Shows an alert dialog when no file-manager is found.
2323 * @param context Context
2424 */
25- private static void showActivityNotFoundAlert (@ NonNull final Context context ) {
25+ private static void showActivityNotFoundAlert (final Context context ) {
2626 if (context == null ) {
2727 throw new IllegalArgumentException (
2828 "Unable to open no file manager alert dialog: Context is null" );
@@ -54,8 +54,8 @@ private static void showActivityNotFoundAlert(@NonNull final Context context) {
5454 public static <I > void launchSafe (
5555 final ActivityResultLauncher <I > activityResultLauncher ,
5656 final I input ,
57- @ NonNull final String tag ,
58- @ NonNull final Context context
57+ final String tag ,
58+ final Context context
5959 ) {
6060 try {
6161 activityResultLauncher .launch (input );
You can’t perform that action at this time.
0 commit comments