mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 03:19:24 +01:00
Improved error message
This commit is contained in:
@@ -1754,7 +1754,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
if ("file".equals(uri.getScheme()) &&
|
||||
!Helper.hasPermission(context, Manifest.permission.READ_EXTERNAL_STORAGE)) {
|
||||
Log.w("Add attachment uri=" + uri);
|
||||
throw new SecurityException();
|
||||
throw new SecurityException("Add attachment with file scheme");
|
||||
}
|
||||
|
||||
EntityAttachment attachment = new EntityAttachment();
|
||||
|
||||
Reference in New Issue
Block a user