mirror of
https://github.com/emanuele-f/PCAPdroid.git
synced 2026-07-03 21:21:12 +08:00
Fix possible crash while importing rules
E.g. SecurityException: com.android.providers.downloads has no access to content ...
This commit is contained in:
parent
4f22276562
commit
b7a59635e3
@ -463,7 +463,7 @@ public class EditListFragment extends Fragment implements MatchList.ListChangeLi
|
||||
String data = s.hasNext() ? s.next() : "";
|
||||
importRulesData(data, true);
|
||||
}
|
||||
} catch (IOException e) {
|
||||
} catch (IOException | RuntimeException e) {
|
||||
e.printStackTrace();
|
||||
Utils.showToastLong(context, R.string.import_failed);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user