mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 01:16:49 +00:00
Update QuickstepTransitionManager to allow remote transitions to be
overridden Bug: 280585150 Test: flashed device, and verified along with other changes in this topic Flag: ENABLE_DREAM_TRANSITION Change-Id: Ic62ab51e0b95253127aa0c4fc8a4ea613afafaa3
This commit is contained in:
@@ -1086,7 +1086,7 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
|
||||
* Adds remote animations to a {@link RemoteAnimationDefinition}. May be overridden to add
|
||||
* additional animations.
|
||||
*/
|
||||
protected void addRemoteAnimations(RemoteAnimationDefinition definition) {
|
||||
private void addRemoteAnimations(RemoteAnimationDefinition definition) {
|
||||
mWallpaperOpenRunner = createWallpaperOpenRunner(false /* fromUnlock */);
|
||||
definition.addRemoteAnimation(WindowManager.TRANSIT_OLD_WALLPAPER_OPEN,
|
||||
WindowConfiguration.ACTIVITY_TYPE_STANDARD,
|
||||
@@ -1151,7 +1151,7 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
|
||||
SystemUiProxy.INSTANCE.get(mLauncher).setStartingWindowListener(null);
|
||||
}
|
||||
|
||||
protected void unregisterRemoteAnimations() {
|
||||
private void unregisterRemoteAnimations() {
|
||||
if (SEPARATE_RECENTS_ACTIVITY.get()) {
|
||||
return;
|
||||
}
|
||||
@@ -1165,7 +1165,7 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
|
||||
}
|
||||
}
|
||||
|
||||
private void unregisterRemoteTransitions() {
|
||||
protected void unregisterRemoteTransitions() {
|
||||
if (ENABLE_SHELL_TRANSITIONS) {
|
||||
SystemUiProxy.INSTANCE.get(mLauncher).unshareTransactionQueue();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user