Revert "Dismiss the keyguard through #notifyKeyguardAuthentiated"

This reverts commit d54e01d096.

Reason for revert: Testing platinum bug b/281655973

Change-Id: I3be3b2b7727baf9da6851524f4cade1e8aa2cf9f
This commit is contained in:
Sam Dubey
2023-05-09 12:05:04 +00:00
committed by Android (Google) Code Review
parent d54e01d096
commit f76caafdf5
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);