summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Sherry Zhou <yuandizhou@google.com> 2024-04-04 00:24:51 +0000
committer Sherry Zhou <yuandizhou@google.com> 2024-04-04 17:38:37 +0000
commitefd4d6feef177ce7f488c081933b802e9c2ee46f (patch)
tree94b727b9ce9c90a664e5682cb5c2e0f7ae7d20d2 /libs/input/SpriteController.cpp
parenta036797ee5c835831783b7dad46ad6d4f3bdef34 (diff)
Fix metro clock animation triggers twice when going to AOD
The reason is that we have single source for dozeAmount with flag off And we have more than one source with flag on, and we'll encounter changing from 1.0 to 1.0, which won't be triggered with flag off from my manual testing And in AnimationState, from LS to AOD, newFraction < fraction, we'll return isActive as true, which will trigger animation; from AOD to LS, newFraction > fraction, we'll return isActive as false. That's why only LS -> AOD will trigger animation twice. Flag: ACONFIG com.android.systemui.migrate_clocks_to_blueprint STAGING Bug: 331820776 Test: manual Change-Id: I910fd8f433be88f23778806c126639d28bf1eb51
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions