sm7325-common: Enable peak refresh rate toggle in Settings

Nio supports switching between 60 and 90 Hz refresh rates, pstar between
48, 60, 90, 120 and 144 Hz, so let's expose it in
Settings -> Display -> Peak refresh rate for users to save battery
if necessary.

Smooth display only changes between 48 and 144 Hz, which can cause
flickering on certain brightness levels, so let the user chose
which range he prefers.

Test: visual confirmation after toggling several times
Change-Id: Ia206c495e3f40f583f8cd35e7753c30a5e917656
This commit is contained in:
Michael Bestas 2021-06-14 03:45:18 +03:00 committed by SGCMarkus
parent af0009e996
commit 3f2fa585cb

View File

@ -17,4 +17,7 @@
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether to show min refresh rate in display settings --> <!-- Whether to show min refresh rate in display settings -->
<bool name="config_show_min_refresh_rate_switch">true</bool> <bool name="config_show_min_refresh_rate_switch">true</bool>
<!-- Whether to show peak refresh rate in display settings -->
<bool name="config_show_peak_refresh_rate_switch">true</bool>
</resources> </resources>