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

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

[Unfold transition] Ensure that we start fold animation after half-folded state

Currently, lastHingeAngleBeforeTransition could be stuck
in '0' degrees or some low angle if user rotates the device
after unfolding or if stopped in half-folded state.

If then user unfolded the device further and started folding
the device, the fold animation won't kick-in before we reach
this angle.

Added updating of this angle when we unfold past it
after a threshold.

Bug: 365706412
Test: atest DeviceFoldStateProviderTest
Flag: EXEMPT bugfix
Change-Id: I9e706d74fcb021b8381ca7ef5b43afa00aeaebf9
parent aa4939bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment