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

This commit is contained in:
TreeHugger Robot
2021-10-01 19:19:08 +00:00
committed by Android (Google) Code Review

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 {