Allow tapping on app icon for second split app.

Fixes: 200851336
Test: Split with one app from overview,
tap on app icon for second app. Gets
selected as second app.

Change-Id: I312169fe7bc42007c2f1a0146a5fef5f8d5f46d6
This commit is contained in:
Vinit Nayak
2021-09-23 14:46:59 -07:00
parent e37b51b30f
commit 9299a743af
@@ -847,6 +847,9 @@ public class TaskView extends FrameLayout implements Reusable {
if (icon != null) {
iconView.setDrawable(icon);
iconView.setOnClickListener(v -> {
if (confirmSecondSplitSelectApp()) {
return;
}
if (ENABLE_QUICKSTEP_LIVE_TILE.get() && isRunningTask()) {
RecentsView recentsView = getRecentsView();
recentsView.switchToScreenshot(