Improved error message

This commit is contained in:
M66B 2019-06-18 21:22:49 +02:00
parent d274ea64f6
commit 4dcbe807df
1 changed files with 1 additions and 1 deletions

View File

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