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

Commit adb49c9c authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Use the right executor for callbacks in Shell code" into sc-dev

parents d42e4a67 a416ee18
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -327,6 +327,10 @@ public class BubbleController {
        return mImpl;
    }

    public ShellExecutor getMainExecutor() {
        return mMainExecutor;
    }

    /**
     * Hides the current input method, wherever it may be focused, via InputMethodManagerInternal.
     */
+1 −1
Original line number Diff line number Diff line
@@ -340,7 +340,7 @@ public class BubbleExpandedView extends LinearLayout {
            mSettingsIcon.setVisibility(GONE);
        } else {
            mTaskView = new TaskView(mContext, mController.getTaskOrganizer());
            mTaskView.setListener(mContext.getMainExecutor(), mTaskViewListener);
            mTaskView.setListener(mController.getMainExecutor(), mTaskViewListener);
            mExpandedViewContainer.addView(mTaskView);
            bringChildToFront(mTaskView);
        }