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

Commit 165f13d9 authored by Issei Suzuki's avatar Issei Suzuki Committed by Android (Google) Code Review
Browse files

Merge "Remove obsolute property persist.wm.disable_custom_task_animation"

parents 691c5c51 1edfed07
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -903,7 +903,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
@@ -394,21 +394,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.
     */