Merge "Use the right executor for callbacks in Shell code" into sc-dev
This commit is contained in:
@@ -327,6 +327,10 @@ public class BubbleController {
|
|||||||
return mImpl;
|
return mImpl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ShellExecutor getMainExecutor() {
|
||||||
|
return mMainExecutor;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hides the current input method, wherever it may be focused, via InputMethodManagerInternal.
|
* Hides the current input method, wherever it may be focused, via InputMethodManagerInternal.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -340,7 +340,7 @@ public class BubbleExpandedView extends LinearLayout {
|
|||||||
mSettingsIcon.setVisibility(GONE);
|
mSettingsIcon.setVisibility(GONE);
|
||||||
} else {
|
} else {
|
||||||
mTaskView = new TaskView(mContext, mController.getTaskOrganizer());
|
mTaskView = new TaskView(mContext, mController.getTaskOrganizer());
|
||||||
mTaskView.setListener(mContext.getMainExecutor(), mTaskViewListener);
|
mTaskView.setListener(mController.getMainExecutor(), mTaskViewListener);
|
||||||
mExpandedViewContainer.addView(mTaskView);
|
mExpandedViewContainer.addView(mTaskView);
|
||||||
bringChildToFront(mTaskView);
|
bringChildToFront(mTaskView);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user