Merge "Fix test failure" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c26e08020c
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user