Merge "Initialize mRotationTouchHelper before onInputDeviceAdded" into main
This commit is contained in:
commit
80dbe9ae3e
1 file changed
+1
-1
@@ -579,6 +579,7 @@ public class TouchInteractionService extends Service {
|
||||
mMainChoreographer = Choreographer.getInstance();
|
||||
mAM = ActivityManagerWrapper.getInstance();
|
||||
mDeviceState = new RecentsAnimationDeviceState(this, true);
|
||||
mRotationTouchHelper = mDeviceState.getRotationTouchHelper();
|
||||
mAllAppsActionManager = new AllAppsActionManager(
|
||||
this, UI_HELPER_EXECUTOR, this::createAllAppsPendingIntent);
|
||||
mInputManager = getSystemService(InputManager.class);
|
||||
@@ -591,7 +592,6 @@ public class TouchInteractionService extends Service {
|
||||
}
|
||||
}
|
||||
mTaskbarManager = new TaskbarManager(this, mAllAppsActionManager, mNavCallbacks);
|
||||
mRotationTouchHelper = mDeviceState.getRotationTouchHelper();
|
||||
mInputConsumer = InputConsumerController.getRecentsAnimationInputConsumer();
|
||||
|
||||
// Call runOnUserUnlocked() before any other callbacks to ensure everything is initialized.
|
||||
|
||||
Reference in new issue
Block a user