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

Commit 7db2b2c9 authored by Bryce Lee's avatar Bryce Lee
Browse files

Fix KeyguardViewMediatorTest.

This changelist updates a test to make it compatible with upstream
changes. This update has already been applied downstream.

Test: atest KeyguardViewMediatorTest#wakeupFromDreamingWhenKeyguardHides
Fixes: 293948457
Change-Id: Iaf037cdb44bb108d013785c20cc0272a4608c73a
parent ba704fa2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -337,6 +337,8 @@ public class KeyguardViewMediatorTest extends SysuiTestCase {
        mViewMediator.onSystemReady();
        TestableLooper.get(this).processAllMessages();

        when(mPowerManager.isInteractive()).thenReturn(true);

        // Given device is dreaming
        when(mUpdateMonitor.isDreaming()).thenReturn(true);