diff options
| author | 2023-07-17 21:46:00 +0000 | |
|---|---|---|
| committer | 2023-07-17 21:46:00 +0000 | |
| commit | 45ea8d3e07486a6d2f109683155bb3f4425f883e (patch) | |
| tree | f0f3a841f883d5bd189b808f5ba1220d145f514a | |
| parent | d3cf5eaed23ce63f9b33590da30a070923b81d26 (diff) | |
| parent | 42a3460f7c8591fab47fd864545618d73b00bc7d (diff) | |
Merge "Fix test flake in sysui test suite." into udc-dev am: 42a3460f7c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/24101116
Change-Id: I5be411bd6bb3004e67546586ae2d1568dfd19612
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -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); |