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

Commit 4bf6fd09 authored by wilsonshih's avatar wilsonshih
Browse files

Default enable BackAnimationController

There should create instance in WMShellBaseModule.
Also remove some un-used field.

Bug: 238475284
Test: build/flash, verify back gesture can work.
Change-Id: Iedbd9731f79ced1c05836de27928f7858ae97368
parent df86b40c
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -72,13 +72,9 @@ public class BackAnimationController implements RemoteCallable<BackAnimationCont
    private static final String TAG = "BackAnimationController";
    private static final int SETTING_VALUE_OFF = 0;
    private static final int SETTING_VALUE_ON = 1;
    private static final String PREDICTIVE_BACK_PROGRESS_THRESHOLD_PROP =
            "persist.wm.debug.predictive_back_progress_threshold";
    public static final boolean IS_ENABLED =
            SystemProperties.getInt("persist.wm.debug.predictive_back",
                    SETTING_VALUE_ON) != SETTING_VALUE_ON;
    private static final int PROGRESS_THRESHOLD = SystemProperties
            .getInt(PREDICTIVE_BACK_PROGRESS_THRESHOLD_PROP, -1);
                    SETTING_VALUE_ON) == SETTING_VALUE_ON;
     /** Flag for U animation features */
    public static boolean IS_U_ANIMATION_ENABLED =
            SystemProperties.getInt("persist.wm.debug.predictive_back_anim",