mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Merge changes Iceb7c9cf,I1e802e67 into main
* changes: Fix NPE in LauncherSwipeHandlerV2Test.setup Update recents states sent to tests by RecentsWindowManager
This commit is contained in:
committed by
Android (Google) Code Review
commit
a4c8c7fafb
@@ -53,8 +53,6 @@ class LauncherSwipeHandlerV2Test {
|
||||
|
||||
@Mock private lateinit var systemUiProxy: SystemUiProxy
|
||||
|
||||
@Mock private lateinit var recentsDisplayModel: RecentsDisplayModel
|
||||
|
||||
@Mock private lateinit var msdlPlayerWrapper: MSDLPlayerWrapper
|
||||
|
||||
private lateinit var underTest: LauncherSwipeHandlerV2
|
||||
@@ -72,7 +70,7 @@ class LauncherSwipeHandlerV2Test {
|
||||
sandboxContext.initDaggerComponent(
|
||||
DaggerTestComponent.builder()
|
||||
.bindSystemUiProxy(systemUiProxy)
|
||||
.bindRecentsDisplayModel(recentsDisplayModel)
|
||||
.bindRecentsDisplayModel(RecentsDisplayModel(sandboxContext))
|
||||
)
|
||||
|
||||
val deviceState = mock(RecentsAnimationDeviceState::class.java)
|
||||
|
||||
Reference in New Issue
Block a user