Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c093b26a authored by Alex Chau's avatar Alex Chau Committed by Android (Google) Code Review
Browse files

Merge "Ensure SAVE_APP_PAIR is only used for GroupedTaskView" into main

parents 4fd3e878 d1bc3b39
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -332,11 +332,13 @@ public interface TaskShortcutFactory {
            // - the task in question is a single task
            // - at least one app in app pair is unpinnable
            // - the Overview Actions Button should be visible
            // - the task is not a GroupedTaskView
            if (!FeatureFlags.enableAppPairs()
                    || !recentsView.supportsAppPairs()
                    || !taskView.containsMultipleTasks()
                    || hasUnpinnableApp
                    || shouldShowActionsButtonInstead) {
                    || shouldShowActionsButtonInstead
                    || !(taskView instanceof GroupedTaskView)) {
                return null;
            }