Add HW-IMS overlay for Huawei VoLTE

This commit is contained in:
Hackintosh 5 2019-03-06 15:15:53 +00:00 committed by Pierre-Hugues Husson
parent cd924279c3
commit e0b6740e37
3 changed files with 23 additions and 0 deletions

8
HW-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-hw-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.hwims"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="persist.sys.phh.ims.hw"
android:requiredSystemPropertyValue="true"
android:priority="77"
android:isStatic="true" />
</manifest>

View file

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