summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Michael Mikhail <michaelmikhil@google.com> 2024-08-29 12:24:12 +0000
committer Michael Mikhail <michaelmikhil@google.com> 2024-08-29 16:05:54 +0000
commit9142b53af98fd4757b721ba0f73fd0cc9f21a3a0 (patch)
tree0875aad6258711e59642dda839b39a6b5d912dfc /libs/input/PointerController.cpp
parent083b275a0e209406c9b42e8c7dabddcf4339a7c9 (diff)
Don't reuse colored and animatable drawables
Play/pause button drawables are changing color and state with each new media loaded. Changing the color after animation occurs cause the other drawable of the prev/next UMO in carousel to change as we cannot mutate a mutated drawable. It is better not to reuse these kind of drawables instead and keep reusing the other static drawables. Flag: com.android.systemui.media_controls_drawables_reuse Bug: 358402034 Test: atest MediaDataProcessorTest Change-Id: I97808b006ca1647559db8439779f86ffc8c17494
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions