Merge "Enable unpausing apps from the workspace." into sc-dev am: a07c2efdf6 am: 112ab6236f am: 1de2721289

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

Change-Id: I3faaab65a17c7abf49f94119dd49007f31e3c56d
This commit is contained in:
TreeHugger Robot
2021-05-28 02:59:27 +00:00
committed by Automerger Merge Worker
2 changed files with 8 additions and 7 deletions
@@ -271,9 +271,7 @@ public class TaskbarActivityContext extends ContextThemeWrapper implements Activ
});
} else if (tag instanceof WorkspaceItemInfo) {
WorkspaceItemInfo info = (WorkspaceItemInfo) tag;
if (info.isDisabled()) {
ItemClickHandler.handleDisabledItemClicked(info, this);
} else {
if (!(info.isDisabled() && ItemClickHandler.handleDisabledItemClicked(info, this))) {
Intent intent = new Intent(info.getIntent())
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
try {