Merge "Fix test flake in sysui test suite." into udc-dev

This commit is contained in:
Aaron Liu
2023-07-17 21:34:03 +00:00
committed by Android (Google) Code Review

View File

@@ -187,9 +187,7 @@ public class KeyguardAbsKeyInputViewControllerTest extends SysuiTestCase {
@Test
public void testLockedOut_verifyPasswordAndUnlock_doesNotEnableViewInput() {
mKeyguardAbsKeyInputViewController.handleAttemptLockout(
SystemClock.elapsedRealtime() + 1000);
mKeyguardAbsKeyInputViewController.verifyPasswordAndUnlock();
mKeyguardAbsKeyInputViewController.handleAttemptLockout(SystemClock.elapsedRealtime());
verify(mAbsKeyInputView).setPasswordEntryInputEnabled(false);
verify(mAbsKeyInputView).setPasswordEntryEnabled(false);
verify(mAbsKeyInputView, never()).setPasswordEntryInputEnabled(true);