diff --git a/changelog.d/6450.bugfix b/changelog.d/6450.bugfix new file mode 100644 index 0000000000..212d835f20 --- /dev/null +++ b/changelog.d/6450.bugfix @@ -0,0 +1 @@ +Gallery picker can pick external images diff --git a/library/multipicker/src/main/java/im/vector/lib/multipicker/MediaPicker.kt b/library/multipicker/src/main/java/im/vector/lib/multipicker/MediaPicker.kt index db74dbf9ff..82d0e358df 100644 --- a/library/multipicker/src/main/java/im/vector/lib/multipicker/MediaPicker.kt +++ b/library/multipicker/src/main/java/im/vector/lib/multipicker/MediaPicker.kt @@ -49,7 +49,7 @@ class MediaPicker : Picker() { return Intent(Intent.ACTION_GET_CONTENT).apply { addCategory(Intent.CATEGORY_OPENABLE) putExtra(Intent.EXTRA_ALLOW_MULTIPLE, !single) - type = "video/*, image/*" + type = "*/*" val mimeTypes = arrayOf("image/*", "video/*") putExtra(Intent.EXTRA_MIME_TYPES, mimeTypes) }