Add Mediatek IMS overlay

This commit is contained in:
Hackintosh 5 2019-05-10 20:13:33 +01:00 committed by Pierre-Hugues Husson
parent de1dfc2ee2
commit d6be5b38b3
3 changed files with 24 additions and 0 deletions

8
MTK-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-mtk-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.mtkims"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="persist.sys.phh.ims.mtk"
android:requiredSystemPropertyValue="true"
android:priority="78"
android:isStatic="true" />
</manifest>

View file

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