commit | 6a00444284b18dceec0aeb059eba2876ba48d158 | [log] [tgz] |
---|---|---|
author | Marzia Favaro <marziana@google.com> | Thu Aug 15 11:53:42 2024 +0000 |
committer | Marzia Favaro <marziana@google.com> | Tue Aug 20 17:54:04 2024 +0000 |
tree | f3ff926b2889e04950189fd7a6c5b755ce070aa9 | |
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