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

Skip to content
Commit e44f4a47 authored by Nick Chameyev's avatar Nick Chameyev
Browse files

Finish unfold Shell transition if animation has finished already

We receive unfold animation progress updates
from SystemUI in UnfoldTransitionHandler using
onStateChangeStarted/Progress/Finished callbacks.

If Shell transition starts *after* unfold animation
has already finished (onStateChangeFinished callback
is called), then Shell transition will never be
finished.

This CL adds a flag that we set when animation is
finished already and it forces the Shell transition
to finish immediately if this flag is set.
The flag resets on folding the device, so next
time when unfolding it, it will be animated again.

Bug: 289783110
Test: atest UnfoldTransitionHandlerTest
Test: add a delay to start shell transition =>
  verify that it finishes
Change-Id: Ibd782aed71094b9f481f260799513ca7fc19f600
parent ef4b10d1
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