Skip to content
Commit 032e5d00 authored by Evan Rosky's avatar Evan Rosky
Browse files

Use a SLEEP transition to trigger failsafe animation cancelling

Some remote animations can misbehave. In particular, recents. When
this happens in the form of the remote not reporting finish, the
transition system can get stuck waiting. Legacy recents had the
same problem and solved it by cancelling the recents and
independently finishing/cleaning-up after a "failsafe" duration
from turning the screen off.

This CL sets-up something similar for shell-transitions. It uses
SLEEP as a signal to "quickly end all animations". This signal
gets sent (via merge) to all the animations. Each animation gets
a small amount of time to finish after-which we forcibly finish
it.

Bug: 267738124
Test: Observe sleep transitions and cancelling in logs.
Change-Id: I36a856e1a798526ad0bb5006477dd08c5bb8792f
parent 66948922
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