sm7325-common: Move some overlays back to product

Change-Id: I8cf38ab282bc327c363a97e2759376f9db32d2f8
This commit is contained in:
Michael Bestas 2025-03-04 16:55:33 +02:00
commit 7552a52b6c
No known key found for this signature in database
10 changed files with 81 additions and 23 deletions

View file

@ -30,10 +30,12 @@ PRODUCT_ENFORCE_RRO_TARGETS := *
PRODUCT_PACKAGES += \
FrameworksResCommon \
FrameworksResProduct \
FrameworksResTarget \
SystemUIResCommon \
TelephonyResCommon \
TelephonyResProduct \
WifiResCommon \
FrameworksResTarget \
WifiResTarget
# A/B

View file

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

View file

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The Linux Foundation
SPDX-License-Identifier: BSD-3-Clause
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Default files to pin via Pinner Service -->
<string-array name="config_defaultPinnerServiceFiles" translatable="false">
<item>"/apex/com.android.art/javalib/core-oj.jar"</item>
<item>"/apex/com.android.art/javalib/core-libart.jar"</item>
<item>"/system/framework/framework.jar"</item>
<item>"/system/framework/services.jar"</item>
<item>"/system/bin/surfaceflinger"</item>
<item>"/system_ext/priv-app/SystemUI/SystemUI.apk"</item>
</string-array>
<!-- Bytes that the PinnerService will pin for Home app -->
<integer name="config_pinnerHomePinBytes">6291456</integer>
</resources>

View file

@ -6,13 +6,4 @@
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Flag indicating whether the device supports RTT (real-time text) -->
<bool name="config_support_rtt">true</bool>
<!-- String indicating the package name of the device ImsService implementation for MMTEL. -->
<string name="config_ims_mmtel_package" translatable="false">org.codeaurora.ims</string>
<!-- String indicating the package name of the device ImsService implementation for RCS. -->
<string name="config_ims_rcs_package" translatable="false">vendor.qti.imsrcs</string>
<!-- String indicating the package name of the device GbaService implementation. -->
<string name="config_gba_package" translatable="false">com.qualcomm.qti.uimGbaApp</string>
</resources>

View file

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

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The Linux Foundation
SPDX-License-Identifier: BSD-3-Clause
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- String indicating the package name of the device ImsService implementation for MMTEL. -->
<string name="config_ims_mmtel_package" translatable="false">org.codeaurora.ims</string>
<!-- String indicating the package name of the device ImsService implementation for RCS. -->
<string name="config_ims_rcs_package" translatable="false">vendor.qti.imsrcs</string>
<!-- String indicating the package name of the device GbaService implementation. -->
<string name="config_gba_package" translatable="false">com.qualcomm.qti.uimGbaApp</string>
</resources>

View file

@ -7,17 +7,4 @@
<!-- When true use the linux /dev/input/event subsystem to detect the switch changes
on the headphone/microphone jack. When false use the older uevent framework. -->
<bool name="config_useDevInputEventForAudioJack">true</bool>
<!-- Default files to pin via Pinner Service -->
<string-array name="config_defaultPinnerServiceFiles" translatable="false">
<item>"/apex/com.android.art/javalib/core-oj.jar"</item>
<item>"/apex/com.android.art/javalib/core-libart.jar"</item>
<item>"/system/framework/framework.jar"</item>
<item>"/system/framework/services.jar"</item>
<item>"/system/bin/surfaceflinger"</item>
<item>"/system_ext/priv-app/SystemUI/SystemUI.apk"</item>
</string-array>
<!-- Bytes that the PinnerService will pin for Home app -->
<integer name="config_pinnerHomePinBytes">6291456</integer>
</resources>