commit | db6ed76fda3714019aa78b6ffb52a8d769f3e75a | [log] [tgz] |
---|---|---|
author | Jordan Demeulenaere <jdemeulenaere@google.com> | Tue Jul 23 13:46:47 2024 +0200 |
committer | Jordan Demeulenaere <jdemeulenaere@google.com> | Tue Jul 23 13:52:13 2024 +0200 |
tree | ddb1cbbaa1f01a01703dd9fe4612e947d910d338 | |
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