sm6375-common: Convert remaining overlays to standalone RRO

Change-Id: I70fc1fb9e8742b8e9b18bd2261673ca3ad8d6346
This commit is contained in:
Michael Bestas 2026-08-29 12:00:36 +03:00
commit 373150694c
No known key found for this signature in database
10 changed files with 67 additions and 6 deletions

View file

@ -22,9 +22,6 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/developer_gsi_keys.mk)
$(call inherit-product, hardware/qcom-caf/common/common.mk)
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay-lineage
PRODUCT_ENFORCE_RRO_TARGETS := *
PRODUCT_PACKAGES += \
@ -32,8 +29,11 @@ PRODUCT_PACKAGES += \
FrameworksResProduct \
FrameworksResTarget \
LineageApertureAppCommon \
LineageSdkOverlayCommon \
LineageSettingsProviderOverlayCommon \
NcmTetheringOverlay \
SettingsProviderResCommon \
SettingsResCommon \
SystemUIResCommon \
TelephonyResCommon \
TelephonyResProduct \

View file

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

View file

@ -0,0 +1,11 @@
<?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="lineageos.platform.overlay.common">
<overlay android:targetPackage="lineageos.platform"
android:isStatic="true"
android:priority="0" />
</manifest>

View file

@ -1,10 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2015 The CyanogenMod Project
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Whether device has screen with higher aspect ratio -->
<!-- Whether device has a screen with a higher aspect ratio -->
<bool name="config_haveHigherAspectRatioScreen">true</bool>
</resources>

View file

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

View file

@ -0,0 +1,11 @@
<?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="lineageos.settings.provider.overlay.common">
<overlay android:targetPackage="org.lineageos.lineagesettings"
android:isStatic="true"
android:priority="0" />
</manifest>

View file

@ -0,0 +1,9 @@
//
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "SettingsResCommon",
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.common">
<overlay
android:isStatic="true"
android:priority="600"
android:targetPackage="com.android.settings" />
</manifest>

View file

@ -3,7 +3,7 @@
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<resources>
<!-- Whether to show min refresh rate in display settings -->
<bool name="config_show_min_refresh_rate_switch">true</bool>