Merge "Fix KeyguardViewMediatorTest." into udc-qpr-dev am: 4a58ebcc75

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/24281491

Change-Id: I8e5d5cb2e0bed1bf20c932096e8cb453fdcc4c5c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Bryce Lee
2023-08-01 21:34:10 +00:00
committed by Automerger Merge Worker

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