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

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

Change-Id: Ia7a35418185b4b66af7736213eb79c34618d323a
This commit is contained in:
TreeHugger Robot
2021-10-01 19:32:12 +00:00
committed by Automerger Merge Worker

View File

@@ -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 {