mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
The `getInvertScrolling()` fallback default was `false`, while the XML preference in `settings_app_ui.xml` defines `android:defaultValue="true"`. On a fresh install, if `PreferenceManager.setDefaultValues()` has not yet persisted the XML defaults into SharedPreferences, the fallback value `false` is returned instead of the intended `true`. This causes the "Invert Scrolling" option to appear checked in the UI but not actually take effect until the user toggles it manually. Change the fallback from `false` to `true` to match the XML default. Fixes #12308