Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a0f9298 authored by Lucas Silva's avatar Lucas Silva
Browse files

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
parent 5e43031e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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();
        }