mediatek: ims: Add MTK-IMS related RRO Overlays

Change-Id: I26bb0ba1222c269c839f9ab44f86d68ec79904ef
Signed-off-by: techyminati <sinha.aryan03@gmail.com>
This commit is contained in:
Pierre-Hugues Husson
2021-08-09 15:10:09 +05:30
committed by techyminati
parent 521f131bc5
commit d2bfbfe042
9 changed files with 97 additions and 1 deletions

8
ims.mk
View File

@@ -17,10 +17,11 @@
PRODUCT_SOONG_NAMESPACES += \ PRODUCT_SOONG_NAMESPACES += \
vendor/mediatek/ims vendor/mediatek/ims
# ImsService
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
ImsService ImsService
# IMS Properties
PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_PRODUCT_PROPERTIES += \
persist.dbg.volte_avail_ovr=1 \ persist.dbg.volte_avail_ovr=1 \
persist.dbg.vt_avail_ovr=1 \ persist.dbg.vt_avail_ovr=1 \
@@ -28,3 +29,8 @@ PRODUCT_PRODUCT_PROPERTIES += \
persist.vendor.vilte_support=0 \ persist.vendor.vilte_support=0 \
persist.vendor.ims_support=1 \ persist.vendor.ims_support=1 \
persist.vendor.volte_support=1 persist.vendor.volte_support=1
# MTK IMS Overlays
PRODUCT_PACKAGES += \
mtk-ims \
mtk-ims-telephony

View File

@@ -0,0 +1,7 @@
runtime_resource_overlay {
name: "mtk-ims-telephony",
theme: "mtk-ims-telephony",
certificate: "platform",
sdk_version: "current",
product_specific: true
}

View File

@@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mediatek.ims.overlay.telephony"
android:versionCode="1"
android:versionName="1.0">
<overlay android:isStatic="true" android:targetPackage="com.android.phone" android:priority="97" />
<application android:label="@string/overlay_name" android:hasCode="false"/>
</manifest>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="config_ims_mmtel_package" translatable="false">com.mediatek.ims</string>
<string name="config_ims_rcs_package" translatable="false">com.android.service.ims</string>
</resources>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright (c) 2017, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="overlay_name">MTK Telephony IMS Config</string>
</resources>

View File

@@ -0,0 +1,7 @@
runtime_resource_overlay {
name: "mtk-ims",
theme: "mtk-ims",
certificate: "platform",
sdk_version: "current",
product_specific: true
}

View File

@@ -0,0 +1,9 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mediatek.ims.overlay"
android:versionCode="1"
android:versionName="1.0">
<overlay android:isStatic="true" android:targetPackage="android" android:priority="97" />
<application android:label="@string/overlay_name" android:hasCode="false"/>
</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>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright (c) 2017, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="overlay_name">MTK IMS Config</string>
</resources>