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

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