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:
Schneider Victor-tulias
2025-01-07 07:46:03 -08:00
committed by Android (Google) Code Review
8 changed files with 37 additions and 10 deletions

View File

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