mirror of
https://github.com/emanuele-f/PCAPdroid.git
synced 2026-06-05 21:04:28 +08:00
Catch possible IllegalStateException in Utils.launchFileDialog
This commit is contained in:
parent
49c4304ff8
commit
2b6b05d093
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user