mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
d205202e52
* 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>
2 lines
57 B
Plaintext
2 lines
57 B
Plaintext
Fix crash on previewing images to upload on Android Pie.
|