mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-02 15:01:01 +01:00
Removed annotations due to wrong warnings
This commit is contained in:
parent
b2323859e5
commit
17724a901c
@ -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 <I> void launchSafe(
|
||||
final ActivityResultLauncher<I> activityResultLauncher,
|
||||
final I input,
|
||||
@NonNull final String tag,
|
||||
@NonNull final Context context
|
||||
final String tag,
|
||||
final Context context
|
||||
) {
|
||||
try {
|
||||
activityResultLauncher.launch(input);
|
||||
|
Loading…
Reference in New Issue
Block a user