Fix flaky tests.
Because message queue is used, it is possible that the user start message is not yet processed when there's another update to the DeviceConfig, this patch uses the TestLooper to manually force all messages processed when there is a dependency or race condition. Bug: b/194262212 Test: atest GameManagerServiceTests Change-Id: I21f342ea3ad802a24500fea47121aa067450022d
Loading
Please register or sign in to comment