diff options
| author | 2024-12-04 10:44:27 +0100 | |
|---|---|---|
| committer | 2024-12-04 10:56:50 +0100 | |
| commit | c352ec75c90656c85d5743318a996b12d995a6bc (patch) | |
| tree | abb70d4e0ae3a6e0af273000141b2e0841bbf7e2 /api/api.go | |
| parent | 2874563914f1a2101900b2d2589dbca4609ea925 (diff) | |
Convert interpolated colors to original color space
This CL fixes a crash that can happen when animating a Color using
animateElementColorAsState(): the interpolated Color will end up in the
Oklab color space (instead of the original color space), which is not
supported by the Android platform.
Bug: 382043554
Test: atest AnimatedSharedAsStateTest
Flag: com.android.systemui.scene_container
Change-Id: I6b32af10534f6112560bc174e734c00ce442688b
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions