mediatek: ims: Add MTK-IMS related RRO Overlays
Change-Id: I26bb0ba1222c269c839f9ab44f86d68ec79904ef Signed-off-by: techyminati <sinha.aryan03@gmail.com>
This commit is contained in:
committed by
techyminati
parent
521f131bc5
commit
d2bfbfe042
8
ims.mk
8
ims.mk
@@ -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
|
||||||
|
|||||||
7
rro_overlays/mtk-ims-telephony/Android.bp
Normal file
7
rro_overlays/mtk-ims-telephony/Android.bp
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
runtime_resource_overlay {
|
||||||
|
name: "mtk-ims-telephony",
|
||||||
|
theme: "mtk-ims-telephony",
|
||||||
|
certificate: "platform",
|
||||||
|
sdk_version: "current",
|
||||||
|
product_specific: true
|
||||||
|
}
|
||||||
10
rro_overlays/mtk-ims-telephony/AndroidManifest.xml
Normal file
10
rro_overlays/mtk-ims-telephony/AndroidManifest.xml
Normal 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>
|
||||||
5
rro_overlays/mtk-ims-telephony/res/values/config.xml
Normal file
5
rro_overlays/mtk-ims-telephony/res/values/config.xml
Normal 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>
|
||||||
23
rro_overlays/mtk-ims-telephony/res/values/strings.xml
Normal file
23
rro_overlays/mtk-ims-telephony/res/values/strings.xml
Normal 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>
|
||||||
7
rro_overlays/mtk-ims/Android.bp
Normal file
7
rro_overlays/mtk-ims/Android.bp
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
runtime_resource_overlay {
|
||||||
|
name: "mtk-ims",
|
||||||
|
theme: "mtk-ims",
|
||||||
|
certificate: "platform",
|
||||||
|
sdk_version: "current",
|
||||||
|
product_specific: true
|
||||||
|
}
|
||||||
9
rro_overlays/mtk-ims/AndroidManifest.xml
Normal file
9
rro_overlays/mtk-ims/AndroidManifest.xml
Normal 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>
|
||||||
6
rro_overlays/mtk-ims/res/values/config.xml
Normal file
6
rro_overlays/mtk-ims/res/values/config.xml
Normal 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>
|
||||||
23
rro_overlays/mtk-ims/res/values/strings.xml
Normal file
23
rro_overlays/mtk-ims/res/values/strings.xml
Normal 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>
|
||||||
Reference in New Issue
Block a user