mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
[Launcher Jank] Pass single threaded Executor to RotationButtonController so that binder calls are ordered.
Bug: 338036218 Test: presubmit Flag: NONE Change-Id: Ic398bf4be53c6b2cc5f4fa11aea5c3b451d5ddf8
This commit is contained in:
@@ -275,7 +275,7 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
|
||||
R.drawable.ic_sysbar_rotate_button_cw_start_0,
|
||||
R.drawable.ic_sysbar_rotate_button_cw_start_90,
|
||||
() -> getDisplay().getRotation());
|
||||
rotationButtonController.setBgExecutor(Executors.THREAD_POOL_EXECUTOR);
|
||||
rotationButtonController.setBgExecutor(Executors.UI_HELPER_EXECUTOR);
|
||||
|
||||
mControllers = new TaskbarControllers(this,
|
||||
new TaskbarDragController(this),
|
||||
|
||||
Reference in New Issue
Block a user