diff options
| author | 2024-07-23 13:46:47 +0200 | |
|---|---|---|
| committer | 2024-07-23 13:52:13 +0200 | |
| commit | db6ed76fda3714019aa78b6ffb52a8d769f3e75a (patch) | |
| tree | ddb1cbbaa1f01a01703dd9fe4612e947d910d338 /libs/androidfw/FileStream.cpp | |
| parent | 158f837e06038488f48bc8d2b0b5e2cd36ff8cb8 (diff) | |
Add SysuiTestCase.runOnMainThreadAndWaitForIdleSync()
This CL introduces a runOnMainThreadAndWaitForIdleSync() utility to
easily post work in the main thread and wait for its completion in a
test. This should make it easier to work with code that has to run on
the main thread, like dialogs.
Bug: 346519570
Test: None, this is a test utility
Flag: EXEMPT test utility
Change-Id: I93790fb9a729d273b3806db9637d9a9af94d966f
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions