mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
improve gallery intent for certain apps
This commit is contained in:
parent
f6c7f3eed1
commit
3442ebc1c3
@ -23,6 +23,7 @@ Bugfix 🐛:
|
||||
- Can't handle ongoing call events in background (#1992)
|
||||
- Crash / Attachment viewer: Cannot draw a recycled Bitmap #2034
|
||||
- Login with Matrix-Id | Autodiscovery fails if identity server is invalid and Homeserver ok (#2027)
|
||||
- Improve support for image selection with intent changes (#1376)
|
||||
|
||||
Translations 🗣:
|
||||
-
|
||||
|
@ -82,7 +82,7 @@ class ImagePicker(override val requestCode: Int) : Picker<MultiPickerImageType>(
|
||||
}
|
||||
|
||||
override fun createIntent(): Intent {
|
||||
return Intent(Intent.ACTION_OPEN_DOCUMENT).apply {
|
||||
return Intent(Intent.ACTION_GET_CONTENT).apply {
|
||||
addCategory(Intent.CATEGORY_OPENABLE)
|
||||
putExtra(Intent.EXTRA_ALLOW_MULTIPLE, !single)
|
||||
type = "image/*"
|
||||
|
Loading…
Reference in New Issue
Block a user