mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 09:03:56 +02:00
Small improvements
This commit is contained in:
@@ -1744,8 +1744,10 @@ public class FragmentCompose extends FragmentBase {
|
||||
Log.w("Add attachment uri=" + uri);
|
||||
|
||||
if ("file".equals(uri.getScheme()) &&
|
||||
!Helper.hasPermission(context, Manifest.permission.READ_EXTERNAL_STORAGE))
|
||||
!Helper.hasPermission(context, Manifest.permission.READ_EXTERNAL_STORAGE)) {
|
||||
Log.w("Add attachment uri=" + uri);
|
||||
throw new SecurityException();
|
||||
}
|
||||
|
||||
EntityAttachment attachment = new EntityAttachment();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user