Fix broken state when tapping nav handle from running app.

When tapping the nav handle from running app, OtherActivityInputConsumer will start the recents window through TaskAnimationManager. The recents window would then typically be closed through the StateManager, however since the state isn't changing, then RecentsWindowManger never actually gets any signal to close the recents window. Added a new callback to fix this flow.

Flag: com.android.launcher3.enable_launcher_overview_in_window
Flag: com.android.launcher3.enable_fallback_overview_in_window
Bug: 377678992
Test: pre/post submit tests. tapped nev handle from a runnign app
Change-Id: If1fe7de195a9a8a98c72629c7904d469a5768d7f
This commit is contained in:
Schneider Victor-Tulias
2025-05-13 16:26:26 -04:00
committed by Schneider Victor-tulias
parent 5db0796793
commit 6d532fe59d
6 changed files with 40 additions and 0 deletions

View File

@@ -29,5 +29,7 @@ public class StateManagerProtoLogProxy {
public static void logOnStateTransitionEnd(Object state) { }
public static void logOnRepeatStateSetAborted(Object state) { }
public static void logCancelAnimation(boolean animationOngoing, String trace) { }
}