android_device_motorola_sm6.../overlay-lineage/packages/apps/Settings/res/values/config.xml
Michael Bestas 3f2fa585cb 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
2022-08-06 22:08:29 +02:00

23 lines
1,013 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether to show min refresh rate in display settings -->
<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>