Bitmap.getColor(x, y) crashes on API 28 and below
Introduction:
I am running my instrumented tests of my SDK on AWS Device Farm, but I see that it crashes when I try to get the pixel color of a Bitmap (bitmap.getColor(x, y)).
Problem:
I test the color of different view objects, as image views, and I found a way to do it converting the view to a Bitmap and then extracting one certain pixel color. Works well on all my emulators and physical devices. Not in all AWS Device Farm devices with API 28 and below, I have tested it in a API 28 local...