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

Skip to content
Commit dcea6acb authored by chihtinglo's avatar chihtinglo
Browse files

Separate the tasks on the main sync and test worker thread

We'll need two threads here since
enableWindowMagnificationWithOffset_expectedValues will require some
time for updating the layout on the screen. postDelayed does not help
here since the test will end directly instead of waiting for the delayed
task to complete.
Therefore, we would like to return to previous `runOnMainSync` way to
only put the required tasks on the main thread and wait on the test
worker thread to verify the result.

Bug: 303132156
Bug: 305732249
Flag: NA
Test: atest SystemUITests:WindowMagnificationAnimationControllerTest
Change-Id: I661a1a6722e9686cdae62a0c8dcb080c46d7e868
parent a891bc20
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