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

Skip to content
Commit 5531f627 authored by William Xiao's avatar William Xiao
Browse files

Remove unnecessary animation cancellations when exiting low light

This CL removes the unnecessary cancellation in the transition
coordinator and also scales the dream overlay exit animation from
lasting >1s so that a self-cancellation isn't needed after the view is
no longer visible.

Also greatly simplifies the method we use to truncate the long
animations.

Test: atest LowLightDreamManagerTest LowLightTransitionCoordinatorTest TruncatedInterpolatorTest
Test: manually verified that enabling low light doesn't crash if
tapping during the animation
Bug: 285666217
Fixed: 285666217

Change-Id: Ib0dfe4fe4d030888607e1f03d57f1a084a5fba10
parent 17bb645a
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