Loading core/java/android/window/WindowOnBackInvokedDispatcher.java +1 −1 Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ public class WindowOnBackInvokedDispatcher implements OnBackInvokedDispatcher { private static final String TAG = "WindowOnBackDispatcher"; private static final String BACK_PREDICTABILITY_PROP = "persist.debug.back_predictability"; private static final boolean IS_BACK_PREDICTABILITY_ENABLED = SystemProperties .getInt(BACK_PREDICTABILITY_PROP, 0) > 0; .getInt(BACK_PREDICTABILITY_PROP, 1) > 0; /** Convenience hashmap to quickly decide if a callback has been added. */ private final HashMap<OnBackInvokedCallback, Integer> mAllCallbacks = new HashMap<>(); Loading libs/WindowManager/Shell/src/com/android/wm/shell/back/BackAnimationController.java +1 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ public class BackAnimationController implements RemoteCallable<BackAnimationCont private static final String BACK_PREDICTABILITY_PROP = "persist.debug.back_predictability"; public static final boolean IS_ENABLED = SystemProperties .getInt(BACK_PREDICTABILITY_PROP, 0) > 0; .getInt(BACK_PREDICTABILITY_PROP, 1) > 0; private static final String BACK_PREDICTABILITY_PROGRESS_THRESHOLD_PROP = "persist.debug.back_predictability_progress_threshold"; private static final int PROGRESS_THRESHOLD = SystemProperties Loading services/core/java/com/android/server/wm/BackNavigationController.java +1 −1 Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ class BackNavigationController { * Returns true if the back predictability feature is enabled */ static boolean isEnabled() { return SystemProperties.getInt(BACK_PREDICTABILITY_PROP, 0) > 0; return SystemProperties.getInt(BACK_PREDICTABILITY_PROP, 1) > 0; } static boolean isScreenshotEnabled() { Loading Loading
core/java/android/window/WindowOnBackInvokedDispatcher.java +1 −1 Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ public class WindowOnBackInvokedDispatcher implements OnBackInvokedDispatcher { private static final String TAG = "WindowOnBackDispatcher"; private static final String BACK_PREDICTABILITY_PROP = "persist.debug.back_predictability"; private static final boolean IS_BACK_PREDICTABILITY_ENABLED = SystemProperties .getInt(BACK_PREDICTABILITY_PROP, 0) > 0; .getInt(BACK_PREDICTABILITY_PROP, 1) > 0; /** Convenience hashmap to quickly decide if a callback has been added. */ private final HashMap<OnBackInvokedCallback, Integer> mAllCallbacks = new HashMap<>(); Loading
libs/WindowManager/Shell/src/com/android/wm/shell/back/BackAnimationController.java +1 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ public class BackAnimationController implements RemoteCallable<BackAnimationCont private static final String BACK_PREDICTABILITY_PROP = "persist.debug.back_predictability"; public static final boolean IS_ENABLED = SystemProperties .getInt(BACK_PREDICTABILITY_PROP, 0) > 0; .getInt(BACK_PREDICTABILITY_PROP, 1) > 0; private static final String BACK_PREDICTABILITY_PROGRESS_THRESHOLD_PROP = "persist.debug.back_predictability_progress_threshold"; private static final int PROGRESS_THRESHOLD = SystemProperties Loading
services/core/java/com/android/server/wm/BackNavigationController.java +1 −1 Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ class BackNavigationController { * Returns true if the back predictability feature is enabled */ static boolean isEnabled() { return SystemProperties.getInt(BACK_PREDICTABILITY_PROP, 0) > 0; return SystemProperties.getInt(BACK_PREDICTABILITY_PROP, 1) > 0; } static boolean isScreenshotEnabled() { Loading