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

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

Change-Id: I61cbf3b9cd07c148019b85c6c7b070fd69bfa816
This commit is contained in:
Vinit Nayak authored and Automerger Merge Worker committed 2021-09-24 00:27:02 +00:00
commit 8a1749f0d9
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(