Oneplus/Gallery: media-uri-list

pull/208/head
M66B 3 years ago
parent c31bda4fb1
commit 912343cf6c

@ -3256,6 +3256,17 @@ public class FragmentCompose extends FragmentBase {
} }
} }
// media-uri-list=[content://media/external_primary/images/media/nnn] (ArrayList)
// media-file-list=[/storage/emulated/0/Pictures/...]
// (ArrayList) media-id-list=[nnn] (ArrayList)
if (result.size() == 0 && data.hasExtra("media-uri-list"))
try {
List<Uri> uris = data.getParcelableArrayListExtra("media-uri-list");
result.addAll(uris);
} catch (Throwable ex) {
Log.e(ex);
}
return result; return result;
} }

Loading…
Cancel
Save