Fix possible crash while importing rules

E.g. SecurityException: com.android.providers.downloads has no access
to content ...
This commit is contained in:
emanuele-f 2023-04-23 20:03:48 +02:00
parent 4f22276562
commit b7a59635e3

View File

@ -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);
}