Set TOUCHPAD_NATURAL_SCROLLING default value to 1

From UI, the reverse scrolling is default off.
This means that fingers move down, scrollbar scrolls up and content moves down

Hence, TOUCHPAD_NATURAL_SCROLLING should be 1 in default.

Bug: 280047007
Test: manual
Change-Id: Iebddbad14adc2220e1f10f20b6605be8947b841c
This commit is contained in:
danielwbhuang
2023-05-04 14:53:58 +08:00
parent 9bb3e1ef7f
commit 395fb8c82e

View File

@@ -233,7 +233,7 @@ public class InputSettings {
*/
public static boolean useTouchpadNaturalScrolling(@NonNull Context context) {
return Settings.System.getIntForUser(context.getContentResolver(),
Settings.System.TOUCHPAD_NATURAL_SCROLLING, 0, UserHandle.USER_CURRENT) == 1;
Settings.System.TOUCHPAD_NATURAL_SCROLLING, 1, UserHandle.USER_CURRENT) == 1;
}
/**