diff options
author | Danny Lin <danny@kdrag0n.dev> | 2021-11-19 09:17:04 -0800 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2024-01-04 05:40:50 +0800 |
commit | 9b92d52f5469202da702e20cfd85f3226bc4a2e9 (patch) | |
tree | 57d97d673f918c077d7f7c861c455aec48ca9527 | |
parent | 1f96f498e4bda6057f47b9f198297b0f712a48d8 (diff) |
pantah: overlay: Enable Smooth Display setting
All GS101 devices (raven and oriole) have peak refresh rates higher than
60 Hz, so allow users to toggle high-refresh rate like on stock.
Change-Id: I7fcbb905b61575de8c5e9d9a935463932551fb6a
-rw-r--r-- | device-ice.mk | 3 | ||||
-rw-r--r-- | overlay-ice/packages/apps/Settings/res/values/config.xml | 20 |
2 files changed, 23 insertions, 0 deletions
diff --git a/device-ice.mk b/device-ice.mk index 3dd0341..89fe78f 100644 --- a/device-ice.mk +++ b/device-ice.mk @@ -4,6 +4,9 @@ # SPDX-License-Identifier: Apache-2.0 # +# Overlays +DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-ice + # EUICC PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.telephony.euicc.xml diff --git a/overlay-ice/packages/apps/Settings/res/values/config.xml b/overlay-ice/packages/apps/Settings/res/values/config.xml new file mode 100644 index 0000000..fa7193f --- /dev/null +++ b/overlay-ice/packages/apps/Settings/res/values/config.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright 2021 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> + <!-- Whether to show Smooth Display feature in Settings Options --> + <bool name="config_show_smooth_display">true</bool> +</resources> |