Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f76caafd authored by Sam Dubey's avatar Sam Dubey Committed by Android (Google) Code Review
Browse files

Revert "Dismiss the keyguard through #notifyKeyguardAuthentiated"

This reverts commit d54e01d0.

Reason for revert: Testing platinum bug b/281655973

Change-Id: I3be3b2b7727baf9da6851524f4cade1e8aa2cf9f
parent d54e01d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3098,7 +3098,7 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable,
        Trace.beginSection("KeyguardViewMediator#onWakeAndUnlocking");
        mWakeAndUnlocking = true;

        mKeyguardViewControllerLazy.get().notifyKeyguardAuthenticated(/* strongAuth */ false);
        keyguardDone();
        Trace.endSection();
    }

+0 −6
Original line number Diff line number Diff line
@@ -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);