Add SPRD-IMS overlay for when we will have working ims on sprd

This commit is contained in:
Pierre-Hugues Husson 2020-06-18 21:09:51 +02:00
parent 8633311bb5
commit bd5fe70ca5
4 changed files with 25 additions and 0 deletions

8
SPRD-IMS/Android.mk Normal file
View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-sprd-ims
LOCAL_MODULE_PATH := $(TARGET_OUT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.sprdims"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="persist.sys.phh.ims.sprd"
android:requiredSystemPropertyValue="true"
android:priority="155"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="config_ims_package">com.spreadtrum.ims</string>
<bool name="config_carrier_volte_available">true</bool>
<bool name="config_dynamic_bind_ims">true</bool>
</resources>

View file

@ -106,6 +106,7 @@ PRODUCT_PACKAGES += \
treble-overlay-sec-ims \
treble-overlay-sharp-s2 \
treble-overlay-sony-XZ3 \
treble-overlay-sprd-ims \
treble-overlay-teclast-m30 \
treble-overlay-tecno-camon11 \
treble-overlay-umidigi-A3S \