diff options
| author | 2023-07-17 21:34:03 +0000 | |
|---|---|---|
| committer | 2023-07-17 21:34:03 +0000 | |
| commit | 42a3460f7c8591fab47fd864545618d73b00bc7d (patch) | |
| tree | 82e4989fc9b68205dcac214d5b88fe24a8250891 | |
| parent | 52a6595733ad6974f0dcdcf9eca5a01b092aea44 (diff) | |
| parent | c95cbf9cde00f4ab2e91b5b0643ea300d703622f (diff) | |
Merge "Fix test flake in sysui test suite." into udc-dev
| -rw-r--r-- | packages/SystemUI/tests/src/com/android/keyguard/KeyguardAbsKeyInputViewControllerTest.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/SystemUI/tests/src/com/android/keyguard/KeyguardAbsKeyInputViewControllerTest.java b/packages/SystemUI/tests/src/com/android/keyguard/KeyguardAbsKeyInputViewControllerTest.java index fa32835c2695..677d3ff3df69 100644 --- a/packages/SystemUI/tests/src/com/android/keyguard/KeyguardAbsKeyInputViewControllerTest.java +++ b/packages/SystemUI/tests/src/com/android/keyguard/KeyguardAbsKeyInputViewControllerTest.java @@ -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); |