Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 424c7f43 authored by Brian Isganitis's avatar Brian Isganitis
Browse files

Still launch disabled item if we can't handle its click.

See where ItemClickHandler#handleDisabledItemClick returns false for
context. If we do not honor this return value, the framework will not
show a dialog in response to attempting launch the item.

Fix: 258232619
Test: Manual
Change-Id: Ie3b112eea17caf0a84defb331133bda9f3add5b6
parent 698239e1
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -758,9 +758,7 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
            });
        } else if (tag instanceof WorkspaceItemInfo) {
            WorkspaceItemInfo info = (WorkspaceItemInfo) tag;
            if (info.isDisabled()) {
                ItemClickHandler.handleDisabledItemClicked(info, this);
            } else {
            if (!info.isDisabled() || !ItemClickHandler.handleDisabledItemClicked(info, this)) {
                TaskbarUIController taskbarUIController = mControllers.uiController;
                RecentsView recents = taskbarUIController.getRecentsView();
                if (recents != null