Catch possible IllegalStateException in Utils.launchFileDialog

This commit is contained in:
emanuele-f 2026-02-21 11:25:33 +01:00
parent 49c4304ff8
commit 2b6b05d093

View File

@ -901,7 +901,7 @@ public class Utils {
try {
launcher.launch(intent);
return true;
} catch (ActivityNotFoundException ignored) {}
} catch (ActivityNotFoundException | IllegalStateException ignored) {}
}
Utils.showToastLong(context, R.string.no_activity_file_selection);