diff options
| author | 2022-10-25 01:52:57 +0000 | |
|---|---|---|
| committer | 2022-10-25 01:52:57 +0000 | |
| commit | 42c25c531e86afea2cb921cb96ae3ae77e9c9369 (patch) | |
| tree | 9b6ab81440b4aa6ed00c6477ec769bc8b264ed54 | |
| parent | 4bdb2860d6a5b24f6e3826d68729e4355fffdfab (diff) | |
| parent | 4bf6fd09624b3a79a89d19e468e46ca669cb2314 (diff) | |
Merge "Default enable BackAnimationController"
| -rw-r--r-- | libs/WindowManager/Shell/src/com/android/wm/shell/back/BackAnimationController.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/back/BackAnimationController.java b/libs/WindowManager/Shell/src/com/android/wm/shell/back/BackAnimationController.java index db5de431cced..dc5b9a1eeaeb 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/back/BackAnimationController.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/back/BackAnimationController.java @@ -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", |