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

Commit 1c6d3468 authored by Tracy Zhou's avatar Tracy Zhou
Browse files

Change how we set NotificationBackgroundView colors for row transparency

The current implementation uses color filter with the mode SRC. This replaces all the original pixels in both color and alpha. It causes a jump cut as the view dims out from collapsing of the shade, since the dimming doesn't do anything with the color filter.

Since the base layer of the background is a gradient drawable, directly manipulating the base layer drawable color seems to work. It's transparent and dims out when the shade is collapsed

Fixes: 399849326
Test: manual
Flag: com.android.systemui.notification_row_transparency
Change-Id: I5f75f5bdc68ec2cef4e932d8f03be76519b60dec
parent da67d1b9
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