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

Skip to content
Commit 9142b53a authored by Michael Mikhail's avatar Michael Mikhail
Browse files

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
parent 083b275a
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