1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 02:07:12 +00:00

Oneplus/Gallery: media-uri-list

This commit is contained in:
M66B 2022-06-19 09:11:53 +02:00
parent c31bda4fb1
commit 912343cf6c

View file

@ -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;
}