Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when setting account icon to hardware bitmap #2810

Open
6 tasks done
singpolyma opened this issue Sep 12, 2024 · 0 comments
Open
6 tasks done

Crash when setting account icon to hardware bitmap #2810

singpolyma opened this issue Sep 12, 2024 · 0 comments

Comments

@singpolyma
Copy link

About this issue

If using https://developer.android.com/reference/android/graphics/ImageDecoder or similar one usually gets a hardware-backed Drawable. However because of

this crashes trying to draw a hardware bitmap onto a software canvas.

Furthermore this caching strategy in BezelImageView I think also breaks compatibility with https://developer.android.com/reference/android/graphics/drawable/AnimationDrawable compared to a regular ImageView

Details

  • Used library version: 9.0.1
  • Used support library version: androidx.appcompat:appcompat:1.7.0 androidx.core:core:1.10.1
  • Used gradle build tools version: 8.7

Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant