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

Commit 1edfed07 authored by Issei Suzuki's avatar Issei Suzuki
Browse files

Remove obsolute property persist.wm.disable_custom_task_animation

Bug: 204540636
Test: Existing tests pass.
Change-Id: Ie06136d165fecb35b2e7802580010cf3a32a24e5
parent a7e52432
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -906,7 +906,7 @@ class WindowContainer<E extends WindowContainer> extends ConfigurationContainer<
     * container.
     */
    boolean canCustomizeAppTransition() {
        return !WindowManagerService.sDisableCustomTaskAnimationProperty;
        return false;
    }

    /**
+0 −15
Original line number Diff line number Diff line
@@ -398,21 +398,6 @@ public class WindowManagerService extends IWindowManager.Stub

    static final int LOGTAG_INPUT_FOCUS = 62001;

    /**
     * Restrict ability of activities overriding transition animation in a way such that
     * an activity can do it only when the transition happens within a same task.
     *
     * @see android.app.Activity#overridePendingTransition(int, int)
     */
    private static final String DISABLE_CUSTOM_TASK_ANIMATION_PROPERTY =
            "persist.wm.disable_custom_task_animation";

    /**
     * @see #DISABLE_CUSTOM_TASK_ANIMATION_PROPERTY
     */
    static boolean sDisableCustomTaskAnimationProperty =
            SystemProperties.getBoolean(DISABLE_CUSTOM_TASK_ANIMATION_PROPERTY, true);

    /**
     * Use WMShell for app transition.
     */