Merge "Fixing ActivityInit getting called before the full launcher components are initialized" into sc-dev
This commit is contained in:
commit
ddbc7bf03d
1 file changed
+3
-3
@@ -95,9 +95,6 @@ public abstract class BaseQuickstepLauncher extends Launcher
|
|||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
mAppTransitionManager = new QuickstepTransitionManager(this);
|
|
||||||
mAppTransitionManager.registerRemoteAnimations();
|
|
||||||
|
|
||||||
SysUINavigationMode.INSTANCE.get(this).addModeChangeListener(this);
|
SysUINavigationMode.INSTANCE.get(this).addModeChangeListener(this);
|
||||||
addMultiWindowModeChangedListener(mDepthController);
|
addMultiWindowModeChangedListener(mDepthController);
|
||||||
}
|
}
|
||||||
@@ -225,6 +222,9 @@ public abstract class BaseQuickstepLauncher extends Launcher
|
|||||||
overviewPanel.init(mActionsView, splitPlaceholderView);
|
overviewPanel.init(mActionsView, splitPlaceholderView);
|
||||||
mActionsView.updateVerticalMargin(SysUINavigationMode.getMode(this));
|
mActionsView.updateVerticalMargin(SysUINavigationMode.getMode(this));
|
||||||
|
|
||||||
|
mAppTransitionManager = new QuickstepTransitionManager(this);
|
||||||
|
mAppTransitionManager.registerRemoteAnimations();
|
||||||
|
|
||||||
addTaskbarIfNecessary();
|
addTaskbarIfNecessary();
|
||||||
addOnDeviceProfileChangeListener(newDp -> addTaskbarIfNecessary());
|
addOnDeviceProfileChangeListener(newDp -> addTaskbarIfNecessary());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user