You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug In this line in SVGAndroidRenderer, if SUPPORTS_RADIAL_GRADIENT_WITH_FOCUS is true (we're on Android SDK 31 or above), then the colours array will be null, which will throw a NullPointerException.
To Reproduce
I've found this when checking the code, so haven't reproduced this in practice, but in theory it would be:
Render an SVG that contains a radial gradient with radius 0, on Android 31 or above
Expected behavior
2. Rendering works
Stack traces
SVG file
Screenshots
Device
Android SDK 31 or above
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
In this line in
SVGAndroidRenderer
, ifSUPPORTS_RADIAL_GRADIENT_WITH_FOCUS
istrue
(we're on Android SDK 31 or above), then thecolours
array will be null, which will throw aNullPointerException
.To Reproduce
I've found this when checking the code, so haven't reproduced this in practice, but in theory it would be:
Expected behavior
2. Rendering works
Stack traces
SVG file
Screenshots
Device
Additional context
The text was updated successfully, but these errors were encountered: