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
Loading
Please register or sign in to comment