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:
parent
c31bda4fb1
commit
912343cf6c
1 changed files with 11 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue