diff options
| author | 2024-08-15 11:53:42 +0000 | |
|---|---|---|
| committer | 2024-08-20 17:54:04 +0000 | |
| commit | 6a00444284b18dceec0aeb059eba2876ba48d158 (patch) | |
| tree | f3ff926b2889e04950189fd7a6c5b755ce070aa9 /api/api_test.go | |
| parent | f85cdacaf226f884d70985512fa16d47fc449810 (diff) | |
Finish animation callback set latest value (reland)
Instead of the state on which the animation was started, a cancelled
animation will set the latest state. This ensures that we don't
accidentally end up in an old state if the animation callback is
executed slighly after the next dim state update.
Bug: 357028844
Test: DimmerTests
Flag: EXEMPT change is minor
Change-Id: I292a72dbf2e6d9b83db6d989714a8faad4367d05
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions