Merge "Don't snap to task when tapping task icon in overview grid" into sc-v2-dev am: f5942afeb5 am: a5a22a2970

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

Change-Id: I3b1826f21c6f643f87ddfa5022385e36005f9558
This commit is contained in:
TreeHugger Robot authored and Automerger Merge Worker committed 2021-10-01 19:46:43 +00:00
commit 889dfd07cd
1 file changed
+2 -1
@@ -795,7 +795,8 @@ public class TaskView extends FrameLayout implements Reusable {
return true;
}
if (!getRecentsView().isClearAllHidden()) {
if (!mActivity.getDeviceProfile().overviewShowAsGrid
&& !getRecentsView().isClearAllHidden()) {
getRecentsView().snapToPage(getRecentsView().indexOfChild(this));
return false;
} else {