New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bitmap-backed canvas.drawRect fails with paint #7188
Comments
This test passes on an emulator, but fails in Robolectric with:
|
Can You Please Assign It To Me? |
@hoisie i looked into it.. As output is coming as -16777216. In binary form, -16777216=11111111 00000000 00000000 00000000 |
@Akshay2131 you can use https://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html#toHexString(int) to identify different more convenient, e.g. assertThat(Integer.toHexString(bitmap.getPixel(0,0)).isEqualsTo(Integer.toHexString(Color.WHITE));
It represents |
Fixed by #7210. |
The text was updated successfully, but these errors were encountered: