Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Version used: 1.1.0
Devices/Android versions reproduced on: API level 23
If this is a bug in the library, we would appreciate if you could attach:
- Sample project to trigger the issue.
- A screenrecord or screenshots showing the issue (if UI related).
In the AnimatedVectorDrawableCompat the registerAnimationCallback method that takes in a drawable and a callback it checks if the API level is 24 and above and calls registerPlatformCallback, otherwise it casts the drawable to an AnimatedVectorDrawableCompat and registers that way. However the registerPlatformCallback function is annotated to require only API level 23. I have received crash reports on API level 23 where it cannot cast an AnimatedVectorDrawable to an AnimatedVectorDrawableCompat, and I think the most likely issue is that the check needs to include API level 23 for the registerPlatformCallback check as it supports it.
Cheers,
Joshua Bradbury