Small improvements

This commit is contained in:
M66B
2019-05-14 12:12:13 +02:00
parent 1efe675abd
commit b2e445c04b
3 changed files with 13 additions and 3 deletions

View File

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