Small improvement

This commit is contained in:
M66B
2019-11-03 20:07:26 +01:00
parent 84e105a96c
commit fc53f9b449
8 changed files with 9 additions and 9 deletions

View File

@@ -320,7 +320,7 @@ public class FragmentBase extends Fragment {
long id = args.getLong("id");
Uri uri = args.getParcelable("uri");
if ("file".equals(uri.getScheme())) {
if (!"content".equals(uri.getScheme())) {
Log.w("Save attachment uri=" + uri);
throw new IllegalArgumentException(context.getString(R.string.title_no_stream));
}