mirror of
https://github.com/BobTheBlinker/android_device_motorola_sm6375-common.git
synced 2026-10-05 19:31:58 -04:00
sm7325-common: Move some overlays back to product
Change-Id: I8cf38ab282bc327c363a97e2759376f9db32d2f8
This commit is contained in:
parent
fb91d9ddc9
commit
7552a52b6c
10 changed files with 81 additions and 23 deletions
|
|
@ -30,10 +30,12 @@ PRODUCT_ENFORCE_RRO_TARGETS := *
|
|||
|
||||
PRODUCT_PACKAGES += \
|
||||
FrameworksResCommon \
|
||||
FrameworksResProduct \
|
||||
FrameworksResTarget \
|
||||
SystemUIResCommon \
|
||||
TelephonyResCommon \
|
||||
TelephonyResProduct \
|
||||
WifiResCommon \
|
||||
FrameworksResTarget \
|
||||
WifiResTarget
|
||||
|
||||
# A/B
|
||||
|
|
|
|||
9
resource-overlay/common/FrameworksProduct/Android.bp
Normal file
9
resource-overlay/common/FrameworksProduct/Android.bp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "FrameworksResProduct",
|
||||
product_specific: true,
|
||||
}
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
9
resource-overlay/common/TelephonyProduct/Android.bp
Normal file
9
resource-overlay/common/TelephonyProduct/Android.bp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "TelephonyResProduct",
|
||||
product_specific: true,
|
||||
}
|
||||
13
resource-overlay/common/TelephonyProduct/AndroidManifest.xml
Normal file
13
resource-overlay/common/TelephonyProduct/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.phone.overlay.product">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="200"
|
||||
android:targetPackage="com.android.phone" />
|
||||
</manifest>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue