diff options
| author | 2023-07-12 21:19:07 +0000 | |
|---|---|---|
| committer | 2023-07-12 21:19:07 +0000 | |
| commit | 2f04241d242d2a1eb0684e39e28a1f7545db13b4 (patch) | |
| tree | 2c00ab8b1dabaf40582310059ca0040490b4af76 | |
| parent | e296d2d73861e467959fa3722d483fca5727fdc5 (diff) | |
| parent | d0e22c52ed622d0bc7f1ab1403ac4a538a1a6840 (diff) | |
Merge "Fix test flake in sysui test suite." into udc-qpr-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); |