mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Improved SAF missing reporting
This commit is contained in:
@@ -540,7 +540,8 @@ public class FragmentContacts extends FragmentBase {
|
||||
open.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
|
||||
open.setType("*/*");
|
||||
if (open.resolveActivity(pm) == null) // system whitelisted
|
||||
ToastEx.makeText(context, R.string.title_no_saf, Toast.LENGTH_LONG).show();
|
||||
Log.unexpectedError(getParentFragmentManager(),
|
||||
new IllegalArgumentException(context.getString(R.string.title_no_saf)), 25);
|
||||
else
|
||||
startActivityForResult(Helper.getChooser(context, open), REQUEST_IMPORT);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user