element-android-Github/library
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
..
attachment-viewer Reduce level API check, this seems not necessary. 2022-09-16 23:00:39 +02:00
core-utils Merge branch 'develop' into dependency-cleanup 2022-05-19 12:27:09 +02:00
external Bump json from 20220320 to 20220924 2022-09-26 23:10:18 +00:00
multipicker [Bugfix] Fix crash on previewing image to upload on Android P (#7184) 2022-10-04 15:34:13 +02:00
ui-strings Merge pull request #7258 from vector-im/feature/fre/voice_broadcast_feature_flag 2022-10-04 11:25:33 +02:00
ui-styles Merge pull request #5716 from thefirstofthe300/styling-tweaks 2022-10-04 15:32:32 +02:00