diff options
| author | 2022-11-24 13:54:14 +0000 | |
|---|---|---|
| committer | 2022-11-24 13:54:14 +0000 | |
| commit | 36977f68bd2cd158ca1c0014edea04cb684043ff (patch) | |
| tree | 118864e29d5396543bf7244797d3220a4d079d1e /libs/androidfw/StringPool.cpp | |
| parent | bcd596c6c2c232e2a6c844c9965b189d7f3a027e (diff) | |
Start closing the device immediately in unfold transition test
Test testFoldImmediatelyAfterUnfold_runsFoldAnimation
should check that we continue animating the transition
even if we started folding the device immediately
after unfolding a foldable device.
There was a race condition between finishing the animation
and sending 'start closing' update, the test was failing
when 'start closing' update arrived after finishing
the transition because this will result into
running a separate 'fold' transition and the test
expects to have only one transition.
Fixed by sending the closing event immediately, in the same
stack frame, without extra delay.
Fixes: 259839615
Test: atest SystemUITests:com.android.systemui.unfold.progress.PhysicsBasedUnfoldTransitionProgressProviderTest#testFoldImmediatelyAfterUnfold_runsFoldAnimation
Change-Id: Id8ad81d6dfcef0802c4e0f8a66e5724cfc98de34
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions