Merge "Base split action on focusedTaskView instead of runningTaskView" into sc-v2-dev am: 33df165ca0

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15806448

Change-Id: I44968cdfaa60ac587704a956b8144e02552f5de8
This commit is contained in:
TreeHugger Robot
2021-09-13 17:38:32 +00:00
committed by Automerger Merge Worker
@@ -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
);
}