mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-23 06:06:27 -08:00
X6833B: overlay: Show min refresh rate toggle
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
This commit is contained in:
parent
cb3e6c0ec2
commit
70e7c64bbf
|
@ -215,7 +215,8 @@ PRODUCT_COPY_FILES += \
|
||||||
|
|
||||||
# Overlays
|
# Overlays
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
FrameworksResOverlay
|
FrameworksResOverlay \
|
||||||
|
SettingsResOverlay
|
||||||
|
|
||||||
# Permissions
|
# Permissions
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
|
12
overlay/SettingsResOverlay/Android.bp
Normal file
12
overlay/SettingsResOverlay/Android.bp
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2023 LineageOS
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
//
|
||||||
|
|
||||||
|
runtime_resource_overlay {
|
||||||
|
name: "SettingsResOverlay",
|
||||||
|
sdk_version: "current",
|
||||||
|
product_specific: true,
|
||||||
|
resource_dirs: ["res"]
|
||||||
|
}
|
18
overlay/SettingsResOverlay/AndroidManifest.xml
Normal file
18
overlay/SettingsResOverlay/AndroidManifest.xml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2023 LineageOS
|
||||||
|
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.
|
||||||
|
-->
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
package="com.android.settingsres.overlay">
|
||||||
|
|
||||||
|
<application android:hasCode="false" />
|
||||||
|
<overlay android:targetPackage="com.android.settings" android:isStatic="true" android:priority="2" />
|
||||||
|
</manifest>
|
26
overlay/SettingsResOverlay/res/values/config.xml
Normal file
26
overlay/SettingsResOverlay/res/values/config.xml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
/**
|
||||||
|
* Copyright (c) 2009, 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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- These resources are around just to allow their values to be customized
|
||||||
|
for different hardware and product builds. Do not translate. -->
|
||||||
|
|
||||||
|
<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>
|
||||||
|
</resources>
|
Loading…
Reference in a new issue