Use experimental API for Icon tint.
I'm not sure why but sometimes icon has incorrect tint which is the same as the colour of the slider. This makes it look invisible (despite actually being there). Bisecting the reasons I discovered that either reverting ag/32950579 or using experimental API fixes the problem. It's pretty easy to reproduce when rapidly adjusting the slider. I also tried reverting the last Compose library update with no success. This didn't happen before because the slider was snapped to the intermediate values and adjusting speed was restricted to a much lower value because of that. Flag: com.android.systemui.volume_redesign Fixes: 415250598 Test: atest VolumeDialogScreenshotTest Test: atest VolumePanelScreenshotTest Test: manual on foldable. Adjust volume and observe the icon Change-Id: Iaa6ee160f3aba5830a5cf50673a362309474d1de
Loading
Please register or sign in to comment