Merge "Fix KeyguardViewMediatorTest." into udc-qpr-dev

This commit is contained in:
Bryce Lee
2023-08-01 20:54:15 +00:00
committed by Android (Google) Code Review

View File

@@ -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);