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

Commit 8b5cc9c9 authored by David Padlipsky's avatar David Padlipsky Committed by Android (Google) Code Review
Browse files

Merge "Acceleration should be enabled by default when flag is disabled" into main

parents 990ebd52 4f3e7186
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -386,7 +386,7 @@ public class InputSettings {
     */
     */
    public static boolean isTouchpadAccelerationEnabled(@NonNull Context context) {
    public static boolean isTouchpadAccelerationEnabled(@NonNull Context context) {
        if (!isPointerAccelerationFeatureFlagEnabled()) {
        if (!isPointerAccelerationFeatureFlagEnabled()) {
            return false;
            return true;
        }
        }


        return Settings.System.getIntForUser(context.getContentResolver(),
        return Settings.System.getIntForUser(context.getContentResolver(),
@@ -833,7 +833,7 @@ public class InputSettings {
     */
     */
    public static boolean isMousePointerAccelerationEnabled(@NonNull Context context) {
    public static boolean isMousePointerAccelerationEnabled(@NonNull Context context) {
        if (!isPointerAccelerationFeatureFlagEnabled()) {
        if (!isPointerAccelerationFeatureFlagEnabled()) {
            return false;
            return true;
        }
        }


        return Settings.System.getIntForUser(context.getContentResolver(),
        return Settings.System.getIntForUser(context.getContentResolver(),