diff options
| author | 2023-08-01 20:54:15 +0000 | |
|---|---|---|
| committer | 2023-08-01 20:54:15 +0000 | |
| commit | 4a58ebcc753d84d3cd434274eb0a07e48ae0ae47 (patch) | |
| tree | d054cb57050d33030fc040a3568c2f737a52b29e | |
| parent | 07f027e53823ca752d55472640ce3ac6b66243b6 (diff) | |
| parent | 7db2b2c9b1dcac88aad4cfa5e82a8ff356bcaa26 (diff) | |
Merge "Fix KeyguardViewMediatorTest." into udc-qpr-dev
| -rw-r--r-- | packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardViewMediatorTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardViewMediatorTest.java b/packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardViewMediatorTest.java index 2b2186250268..d8d3f92911ea 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardViewMediatorTest.java +++ b/packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardViewMediatorTest.java @@ -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); |