Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca9b8838 authored by chihtinglo's avatar chihtinglo
Browse files

fix(edt): Avoid inverting gray scale images in EDT

Checking the saturation of the images to identify if the image contains
only gray scale colors. To exclude the purely black and purely white
images, we also check the values of the colors.

Bug: 438210124
Bug: 439592926
Test: manually. attach screenshot to the bug
Flag: android.view.accessibility.force_invert_color
Change-Id: I11c7e663dbb9360cb5d86e3ff72014ecb1f4a698
parent 0c1c5c98
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment