Merge "Fix test failure" into sc-v2-dev

This commit is contained in:
Alex Florescu
2021-08-06 10:29:14 +00:00
committed by Android (Google) Code Review

View File

@@ -69,7 +69,7 @@ class KeyguardMediaControllerTest : SysuiTestCase() {
whenever(notificationLockscreenUserManager.shouldShowLockscreenNotifications()) whenever(notificationLockscreenUserManager.shouldShowLockscreenNotifications())
.thenReturn(true) .thenReturn(true)
whenever(mediaHost.hostView).thenReturn(hostView) whenever(mediaHost.hostView).thenReturn(hostView)
hostView.layoutParams = FrameLayout.LayoutParams(100, 100)
keyguardMediaController = KeyguardMediaController( keyguardMediaController = KeyguardMediaController(
mediaHost, mediaHost,
bypassController, bypassController,