From fe4eff686ed74df23bd3e22fbc48b576127f984d Mon Sep 17 00:00:00 2001 From: Anand S Date: Tue, 13 May 2025 23:16:37 +0530 Subject: [PATCH] rhodep: Selectively update overlays from stock Change-Id: Ie8938f0f5b11724de4feb296513bba6a9e6b1987 --- device.mk | 1 - .../device/Frameworks/res/values/config.xml | 117 +++++++----------- .../device/Frameworks/res/values/dimens.xml | 4 +- resource-overlay/device/Settings/Android.bp | 9 -- .../device/Settings/AndroidManifest.xml | 13 -- .../device/Settings/res/values/config.xml | 9 -- .../device/SystemUI/res/values/config.xml | 6 +- .../device/SystemUI/res/values/dimens.xml | 19 ++- 8 files changed, 67 insertions(+), 111 deletions(-) delete mode 100644 resource-overlay/device/Settings/Android.bp delete mode 100644 resource-overlay/device/Settings/AndroidManifest.xml delete mode 100644 resource-overlay/device/Settings/res/values/config.xml diff --git a/device.mk b/device.mk index 69fbf9a..7ad04c7 100644 --- a/device.mk +++ b/device.mk @@ -25,7 +25,6 @@ $(call inherit-product, device/motorola/sm6375-common/common.mk) PRODUCT_PACKAGES += \ FrameworksResDevice \ LineageSystemUIDevice \ - SettingsResDevice \ SystemUIResDevice \ WifiResDevice diff --git a/resource-overlay/device/Frameworks/res/values/config.xml b/resource-overlay/device/Frameworks/res/values/config.xml index d2a92f0..0ff0540 100644 --- a/resource-overlay/device/Frameworks/res/values/config.xml +++ b/resource-overlay/device/Frameworks/res/values/config.xml @@ -13,13 +13,13 @@ 0 - 50 + 30 - 0 - 40 + 125 + 30 - 3 + 2 7 10 12 @@ -104,11 +101,8 @@ 111 149 192 - 325 + 252 500 - 700 - 800 - 1000 - 9 - 27 - 35 - 38 - 55 - 106 - 113 + 0 + 1 + 4 + 5 + 6 + 12 + 48 + 57 + 76 + 98 129 - 147 - 183 - 228 - 239 - 244 255 @@ -140,7 +132,8 @@ This array should be equal in size to config_screenBrightnessBacklight --> - 3 + 0 + 2 7 10 12 @@ -149,11 +142,8 @@ 111 149 192 - 325 + 252 500 - 700 - 800 - 1000 @@ -199,31 +189,37 @@ @see https://www.w3.org/TR/SVG/paths.html#PathData --> - M 507,63 - a 33,33 0 1 0 66,0 - a 33,33 0 1 0 -66,0 - Z - @left - - - - - M -33 0 - L -33 126 - L 33 126 - L 33 0 + M -34,0 + L -34,100 + L 34,100 + L 34,0 Z - - true + + + 0:2:15 + + + + + @array/config_sfps_sensor_props_0 + + + + local:4630947043778501761 + 1080 + 815 + 200 + + + + true - 77 - 62 + 72 -1 - 70 - 90 - - - - 0:2:15 - - - - - 540 - 2168 - 91 - + 120 diff --git a/resource-overlay/device/Frameworks/res/values/dimens.xml b/resource-overlay/device/Frameworks/res/values/dimens.xml index 8077006..ea4fda8 100644 --- a/resource-overlay/device/Frameworks/res/values/dimens.xml +++ b/resource-overlay/device/Frameworks/res/values/dimens.xml @@ -14,7 +14,7 @@ - 126px + 100px - 105px + 95px diff --git a/resource-overlay/device/Settings/Android.bp b/resource-overlay/device/Settings/Android.bp deleted file mode 100644 index 3fd9f54..0000000 --- a/resource-overlay/device/Settings/Android.bp +++ /dev/null @@ -1,9 +0,0 @@ -// -// SPDX-FileCopyrightText: The LineageOS Project -// SPDX-License-Identifier: Apache-2.0 -// - -runtime_resource_overlay { - name: "SettingsResDevice", - vendor: true, -} diff --git a/resource-overlay/device/Settings/AndroidManifest.xml b/resource-overlay/device/Settings/AndroidManifest.xml deleted file mode 100644 index 9e0553c..0000000 --- a/resource-overlay/device/Settings/AndroidManifest.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - diff --git a/resource-overlay/device/Settings/res/values/config.xml b/resource-overlay/device/Settings/res/values/config.xml deleted file mode 100644 index 48afae3..0000000 --- a/resource-overlay/device/Settings/res/values/config.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - 65 - diff --git a/resource-overlay/device/SystemUI/res/values/config.xml b/resource-overlay/device/SystemUI/res/values/config.xml index ae3a4cb..3069b08 100644 --- a/resource-overlay/device/SystemUI/res/values/config.xml +++ b/resource-overlay/device/SystemUI/res/values/config.xml @@ -14,9 +14,9 @@ DisplayCutout path will be rendered --> - M 503,63 - a 37,37 0 1 0 74,0 - a 37,37 0 1 0 -74,0 + M 661,72 + a 57,57 0 1 0 114,0 + a 57,57 0 1 0 -114,0 Z diff --git a/resource-overlay/device/SystemUI/res/values/dimens.xml b/resource-overlay/device/SystemUI/res/values/dimens.xml index 7aabe10..3a57b30 100644 --- a/resource-overlay/device/SystemUI/res/values/dimens.xml +++ b/resource-overlay/device/SystemUI/res/values/dimens.xml @@ -16,11 +16,20 @@ 14dp + + 1080px + + + 810px + - 880px - - - 62.73 + 810px