Loading quickstep/src/com/android/quickstep/TaskShortcutFactory.java +1 −1 Original line number Diff line number Diff line Loading @@ -231,7 +231,7 @@ public interface TaskShortcutFactory { @Override public SystemShortcut getShortcut(BaseDraggingActivity activity, TaskView taskView) { SystemShortcut shortcut = super.getShortcut(activity, taskView); if (FeatureFlags.ENABLE_SPLIT_SELECT.get()) { if (shortcut != null && FeatureFlags.ENABLE_SPLIT_SELECT.get()) { // Disable if there's only one recent app for split screen shortcut.setEnabled(taskView.getRecentsView().getTaskViewCount() > 1); } Loading Loading
quickstep/src/com/android/quickstep/TaskShortcutFactory.java +1 −1 Original line number Diff line number Diff line Loading @@ -231,7 +231,7 @@ public interface TaskShortcutFactory { @Override public SystemShortcut getShortcut(BaseDraggingActivity activity, TaskView taskView) { SystemShortcut shortcut = super.getShortcut(activity, taskView); if (FeatureFlags.ENABLE_SPLIT_SELECT.get()) { if (shortcut != null && FeatureFlags.ENABLE_SPLIT_SELECT.get()) { // Disable if there's only one recent app for split screen shortcut.setEnabled(taskView.getRecentsView().getTaskViewCount() > 1); } Loading