Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix IllegalArgumentException when createBitmap (#2351)
IllegalArgumentException is thrown when creating bitmap in ensureSoftwareRenderingBitmap() if the getIntrinsicWidth or getIntrinsicHeight returns -1. So, returns when renderWidth or renderHeight is negative to avoid the crash Fixes #2350
- Loading branch information