mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Improved SAF missing reporting
This commit is contained in:
@@ -409,7 +409,8 @@ public class FragmentOptionsEncryption 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_CERTIFICATE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user