summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author chihtinglo <chihtinglo@google.com> 2023-10-26 10:59:50 +0800
committer chihtinglo <chihtinglo@google.com> 2023-10-26 23:49:37 +0800
commitdcea6acbaa78ddedc2fc7262723dec844e0991f1 (patch)
tree1f54a502884ab25cdfb63544318eeac79ba25cd6 /libs/androidfw/StringPool.cpp
parenta891bc207743712bc33ee1c0e5c73667e2328981 (diff)
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions