This was fixed by the kernel commit: c1244fe4ba
This commit includes a revert of commit 756dd639af.
Change-Id: I7dd248c06864eda5b0ac3269e1ebafd1ce4d43fa
The gesture node seems to be swapped on the OOS 10 source.
Switch to this since up works.
Change-Id: I0b0b994125a90222e9bdebd506e0e3672c13759a
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
Some devices don't have a 90Hz display and don't need the preference for this reason
To disable the feature, overlay the config to false in device specific device tree:
overlay{,-aosip}/device/oneplus/sm8150-common/DeviceSettings/res/values/config.xml:
<bool name="config_deviceHasHighRefreshRate">false</bool>
Suggestion by Ashwin4RC
Change-Id: I79f46adabf9d7940ca24e7077890447678a8fa8c
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
This commit has two benefits:
- Helps us avoid users from complaining incase anything goes wrong with their hardware
- Having the vibration slider as the last option meant that when trying to move the slider
you ended up triggering the Q gesture to switch apps, this helps avoid that
Signed-off-by: Anirudh Gupta <anirudhgupta109@gmail.com>
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
Taken from: 99e6831dc4/DeviceSettings
Edits after:
- Adapted to AndroidX
- Includes all translations from pie cycle
- Remove DisplayModes and Dolby
- Add DC-Dimming, FPS Info tile, Refresh Rate preferences
- Change layout to a cleaner look
- Nuke KeyHandler
- Change KeyHandler class and lib overlays to DeviceSettings
- Make DC-Dimming and HBM QS tile reflect active status
Co-authored-by: darkobas <darkobas@gmail.com>
Co-authored-by: Max Weninger <max.weninger@gmail.com>
Co-authored-by: Vachounet <vachounet@live.fr>
Co-authored-by: kldoc <fred.berbigier@gmail.com>
Co-authored-by: Christian Oder <myself5@carbonrom.org>
Co-authored-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Co-authored-by: David Sn <divad.nnamtdeis@gmail.com>
Signed-off-by: Anirudh Gupta <anirudhgupta109@gmail.com>
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>