Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have software rendering fallback on hardware acceleration when too la…
…rge (#1190) In cases where LottieAnimationView is large and software rendering is used, Android may not be able to generate a bitmap large enough which causes nothing to be shown. Rather than have this happen, fall back on hardware acceleration which is supported > api 11. Potentially taking a perf hit and displaying is better than a blank screen and not displaying at all. Encountered this where upon rotation on a tablet, the view became big enough that generation of the bitmap failed.
- Loading branch information