Merge "Register hinge angle sensor listener in a background thread" into tm-dev am: 1ffc81c7ba

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

Change-Id: If2f7f76c2d63745aeada9dd16d46c3237550cd18
This commit is contained in:
Nicolò Mazzucato
2022-03-04 18:29:57 +00:00
committed by Automerger Merge Worker
@@ -25,6 +25,7 @@ import static com.android.launcher3.config.FeatureFlags.ENABLE_SPLIT_FROM_WORKSP
import static com.android.launcher3.model.data.ItemInfo.NO_MATCHING_ID;
import static com.android.launcher3.popup.QuickstepSystemShortcut.getSplitSelectShortcutByPosition;
import static com.android.launcher3.util.DisplayController.CHANGE_ACTIVE_SCREEN;
import static com.android.launcher3.util.Executors.THREAD_POOL_EXECUTOR;
import static com.android.launcher3.util.Executors.UI_HELPER_EXECUTOR;
import static com.android.quickstep.SysUINavigationMode.Mode.NO_BUTTON;
import static com.android.quickstep.SysUINavigationMode.Mode.TWO_BUTTONS;
@@ -344,6 +345,7 @@ public abstract class BaseQuickstepLauncher extends Launcher
getSystemService(SensorManager.class),
getMainThreadHandler(),
getMainExecutor(),
/* backgroundExecutor= */ THREAD_POOL_EXECUTOR,
/* tracingTagPrefix= */ "launcher"
);