Merge "Revert "Dismiss the keyguard through #notifyKeyguardAuthentiated"" into udc-dev

This commit is contained in:
Sam Dubey
2023-05-09 12:58:42 +00:00
committed by Android (Google) Code Review
2 changed files with 1 additions and 7 deletions

View File

@@ -3098,7 +3098,7 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable,
Trace.beginSection("KeyguardViewMediator#onWakeAndUnlocking");
mWakeAndUnlocking = true;
mKeyguardViewControllerLazy.get().notifyKeyguardAuthenticated(/* strongAuth */ false);
keyguardDone();
Trace.endSection();
}

View File

@@ -549,12 +549,6 @@ public class KeyguardViewMediatorTest extends SysuiTestCase {
assertTrue(mViewMediator.isShowingAndNotOccluded());
}
@Test
public void testWakeAndUnlocking() {
mViewMediator.onWakeAndUnlocking();
verify(mStatusBarKeyguardViewManager).notifyKeyguardAuthenticated(anyBoolean());
}
@Test
public void testOnStartedWakingUp_logsUiEvent() {
final InstanceId instanceId = InstanceId.fakeInstanceId(8);