fixing splitview issue not receiving callback in recents in window
Test: Built and ran locally. Verified cycling back to default state.
Flag: com.android.launcher3.enable_fallback_overview_in_window
com.android.launcher3.enable_launcher_overview_in_window
Bug: 292269949
Change-Id: I3054ef815baf1a852c365a07cad5e66a168f88c5
This commit is contained in:
1 parent
6abaca4e03
commit
b0487db434
2 files changed
+8
-2
No files matched your search
@@ -87,8 +87,6 @@ import com.android.quickstep.views.OverviewActionsView
|
||||
import com.android.quickstep.views.RecentsView
|
||||
import com.android.quickstep.views.RecentsViewContainer
|
||||
import com.android.systemui.shared.recents.model.ThumbnailData
|
||||
import com.android.systemui.shared.system.TaskStackChangeListener
|
||||
import com.android.systemui.shared.system.TaskStackChangeListeners
|
||||
import dagger.assisted.Assisted
|
||||
import dagger.assisted.AssistedFactory
|
||||
import dagger.assisted.AssistedInject
|
||||
|
||||
@@ -201,6 +201,7 @@ import com.android.quickstep.TaskViewUtils;
|
||||
import com.android.quickstep.TopTaskTracker;
|
||||
import com.android.quickstep.ViewUtils;
|
||||
import com.android.quickstep.fallback.window.RecentsWindowFlags;
|
||||
import com.android.quickstep.fallback.window.RecentsWindowManager;
|
||||
import com.android.quickstep.orientation.RecentsPagedOrientationHandler;
|
||||
import com.android.quickstep.recents.data.AppTimersRepository;
|
||||
import com.android.quickstep.recents.data.AppTimersRepositoryImpl;
|
||||
@@ -5503,6 +5504,13 @@ public abstract class RecentsView<
|
||||
}
|
||||
mSplitHiddenTaskView = null;
|
||||
}
|
||||
|
||||
if (RecentsWindowFlags.getEnableOverviewInWindow()) {
|
||||
// Recents doesn't receive activity callback, so we cleanup manually
|
||||
if (mContainer instanceof RecentsWindowManager manager) {
|
||||
manager.cleanupRecentsWindow();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void safeRemoveDragLayerView(@Nullable View viewToRemove) {
|
||||
|
||||
Reference in new issue
Block a user