summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Julia Tuttle <juliatuttle@google.com> 2023-11-16 11:33:14 -0500
committer Julia Tuttle <juliatuttle@google.com> 2023-11-16 11:33:14 -0500
commit96686db5108b45d69d83d8d598e5dadbc7a84aa0 (patch)
tree66cd04be289aacd1eaa173c15b65bea4fcb910ba /libs/input/SpriteController.cpp
parent1744218ee37bb8dbe3867f8c9c98890309c2aa77 (diff)
Fix hovered/pressed states of colorized notification backgrounds
After the notification color scheme updates, colorized notifications would turn un-colorized when hovered or pressed. The culprit was a ColorStateList created in NotificationBackgroundView that didn't actually base the hovered and pressed states on the tint color. I'm not sure how this *ever* worked, but this CL bases *all* of the states on the tint color, and fixes the problem. Bug: 277285099 Bug: 310318993 Test: manual: find or post a colorized notification and long-press it Flag: NA Change-Id: I9a7431c2dadd5703858e84e887979a4c0bd75b30
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions