Merge "Allow tapping on app icon for second split app." into sc-v2-dev

This commit is contained in:
Vinit Nayak
2021-09-24 00:17:57 +00:00
committed by Android (Google) Code Review
@@ -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(