devon: overlay: Enable min & peak refresh rate toggle in Settings

Change-Id: Ia3e1a5ef92b666747cf1d8e362e88a09b21c2444
This commit is contained in:
Michael Bestas
2025-09-13 12:59:14 -03:00
committed by Deivid21
parent 30b020fd44
commit 2e45839ff8
4 changed files with 35 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ PRODUCT_PACKAGES += \
# Overlay
PRODUCT_PACKAGES += \
FrameworksResDevice \
SettingsResDevice \
SystemUIResDevice \
WifiResDevice

View File

@@ -0,0 +1,9 @@
//
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "SettingsResDevice",
vendor: true,
}

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.settings.overlay.device">
<overlay
android:isStatic="true"
android:priority="500"
android:targetPackage="com.android.settings" />
</manifest>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<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>