Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit efd4d6fe authored by Sherry Zhou's avatar Sherry Zhou
Browse files

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
parent a036797e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment