mirror of
https://github.com/BobTheBlinker/android_device_motorola_sm6375-common.git
synced 2026-10-05 19:31:58 -04:00
sm6375-common: Convert remaining overlays to standalone RRO
Change-Id: I70fc1fb9e8742b8e9b18bd2261673ca3ad8d6346
This commit is contained in:
parent
e8cbc8c08f
commit
373150694c
10 changed files with 67 additions and 6 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
9
resource-overlay/common/LineageSdkOverlay/Android.bp
Normal file
9
resource-overlay/common/LineageSdkOverlay/Android.bp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "LineageSdkOverlayCommon",
|
||||
vendor: true,
|
||||
}
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "LineageSettingsProviderOverlayCommon",
|
||||
vendor: true,
|
||||
}
|
||||
|
|
@ -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>
|
||||
9
resource-overlay/common/Settings/Android.bp
Normal file
9
resource-overlay/common/Settings/Android.bp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "SettingsResCommon",
|
||||
vendor: true,
|
||||
}
|
||||
13
resource-overlay/common/Settings/AndroidManifest.xml
Normal file
13
resource-overlay/common/Settings/AndroidManifest.xml
Normal 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>
|
||||
|
|
@ -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>
|
||||
|
||||
Loading…
Reference in a new issue