Assigned
Status Update
Comments
ra...@google.com <ra...@google.com> #2
Thank you for reporting this issue. For us to further investigate this issue, please provide the following additional information:
Android bug report (to be captured after reproducing the issue)
For steps to capture a bug report, please refer:https://developer.android.com/studio/debug/bug-report#bugreportdevice
Alternate method
Navigate to “Developer options”, ensure “USB debugging” is enabled, then enable “Bug report shortcut”. Capture bug report by holding the power button and selecting the “Take bug report” option.
Note: Please upload the bug report to google drive and share the folder to android-bugreport@google.com, then share the link here.
Android bug report (to be captured after reproducing the issue)
For steps to capture a bug report, please refer:
Alternate method
Navigate to “Developer options”, ensure “USB debugging” is enabled, then enable “Bug report shortcut”. Capture bug report by holding the power button and selecting the “Take bug report” option.
Note: Please upload the bug report to google drive and share the folder to android-bugreport@google.com, then share the link here.
ra...@google.com <ra...@google.com> #3
Please provide the requested information to proceed further. Unfortunately the issue will be closed within 7 days if there is no further update.
ra...@google.com <ra...@google.com> #4 Restricted+
Restricted+
Comment has been deleted.
ra...@google.com <ra...@google.com> #5 Restricted
Restricted
Comment has been deleted.
ra...@google.com <ra...@google.com> #6
We have shared this with our product and engineering team and will update this issue with more information as it becomes available.
Description
Issue
Observed behavior
When using the android.graphics module to draw a linear gradient from transparent white to opaque black, a gradient from transparent black to opaque black is observed.
Expected behavior
A gradient from transparent white to opaque black is expected, similar to this skia snippet:https://fiddle.skia.org/c/406ea3532a019ca9f38339970c789c0e .
The attachment contains gradient-with-stop-opacity.svg, an SVG containing the linear gradient in question. gradient-with-stop-opacity_actual.png contains the attempt to render the SVG using android.graphics functionality, and gradient-with-stop-opacity_expected.png contains the result when the SVG is rendered with equivalent Skia functionality.
Context
Reproduced on a Pixel 3a AVG, API level 34.