element-android/library/multipicker
Paul d205202e52
[Bugfix] Fix crash on previewing image to upload on Android P (#7184)
* Fix crash on image upload preview on Android P

Using hardware bitmap allocation on Android framework versions prior to
Android Q causes a crash when decoding a bitmap if GL context wasn't
initialised. The issue is not documented in ImageDecoder reference but
it is mentioned in the comments of glide[1] with a link to internal
google discussion.

[1] f83cc274b4/library/src/main/java/com/bumptech/glide/load/resource/bitmap/HardwareConfigState.java (L22)

Signed-off-by: Paweł Matuszewski <pamat@protonmail.com>
2022-10-04 15:34:13 +02:00
..
src/main [Bugfix] Fix crash on previewing image to upload on Android P (#7184) 2022-10-04 15:34:13 +02:00
.gitignore moves multipicker module to library 2022-02-22 19:48:48 +01:00
build.gradle Cleanup 2022-04-17 11:09:10 +02:00
consumer-rules.pro moves multipicker module to library 2022-02-22 19:48:48 +01:00
proguard-rules.pro moves multipicker module to library 2022-02-22 19:48:48 +01:00