Merge "Fix AccessibilityManagerServiceTest" into rvc-dev

This commit is contained in:
Jackal Guo
2020-03-02 01:19:54 +00:00
committed by Android (Google) Code Review

View File

@@ -189,6 +189,7 @@ public class AccessibilityManagerServiceTest extends AndroidTestCase {
public void testOnSystemActionsChanged() throws Exception {
setupAccessibilityServiceConnection();
mA11yms.notifySystemActionsChangedLocked(mUserState);
InstrumentationRegistry.getInstrumentation().waitForIdleSync();
verify(mMockServiceClient).onSystemActionsChanged();
}
}