Merge "Base split action on focusedTaskView instead of runningTaskView" into sc-v2-dev

This commit is contained in:
TreeHugger Robot authored and Android (Google) Code Review committed 2021-09-13 17:38:17 +00:00
commit 33df165ca0
1 file changed
+1 -1
@@ -3150,7 +3150,7 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
*/
private void updateFocusedSplitButtonVisibility() {
mActionsView.setSplitButtonVisible(mActivity.getDeviceProfile().isTablet &&
!(getRunningTaskView() instanceof GroupedTaskView) &&
!(getFocusedTaskView() instanceof GroupedTaskView) &&
getTaskViewCount() > 1
);
}