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

This commit is contained in:
Vinit Nayak authored and Android (Google) Code Review committed 2021-09-24 00:17:57 +00:00
commit 03396d4fba
1 file changed
+3
@@ -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(