Add a CAF-IMS RRO, to be enabled based on property

This commit is contained in:
Pierre-Hugues Husson 2018-09-03 22:44:47 +02:00
parent f6f5b284cb
commit 5183a22900
4 changed files with 24 additions and 0 deletions

8
CAF-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-caf-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.cafims"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="persist.sys.phh.ims.caf"
android:requiredSystemPropertyValue="true"
android:priority="39"
android:isStatic="true" />
</manifest>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="config_ims_package">org.codeaurora.ims</string>
<bool name="config_dynamic_bind_ims">true</bool>
</resources>

View File

@ -1,6 +1,7 @@
PRODUCT_PACKAGES += \
treble-overlay-asus-zenfone5 \
treble-overlay-asus-zenfone5z \
treble-overlay-caf-ims \
treble-overlay-huawei \
treble-overlay-huawei-DUK \
treble-overlay-huawei-STF \