sm6225-common: Move moto-telephony.jar to system_ext

* moto-telephony.jar is a dependence of ims.apk and thus should locate
   in system_ext as well.

Change-Id: I0711c0178906293179998eae70663de7b09a4a77
This commit is contained in:
dianlujitao 2021-12-23 15:10:00 +08:00 committed by Dhina17
parent 8e2ca7a328
commit e98bd81d13
2 changed files with 10 additions and 2 deletions

View file

@ -58,6 +58,14 @@ if [ -z "${SRC}" ]; then
SRC="adb"
fi
function blob_fixup() {
case "${1}" in
system_ext/etc/permissions/moto-telephony.xml)
sed -i "s#/system/#/system_ext/#" "${2}"
;;
esac
}
if [ -z "${ONLY_TARGET}" ]; then
# Initialize the helper for common device
setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${ANDROID_ROOT}" true "${CLEAN_VENDOR}"

View file

@ -684,8 +684,8 @@ vendor/radio/qcril_database/upgrade/8_version_qcrildb.sql
vendor/radio/qcril_database/upgrade/9_version_qcrildb.sql
# Radio - Moto
etc/permissions/moto-telephony.xml
framework/moto-telephony.jar
etc/permissions/moto-telephony.xml:system_ext/etc/permissions/moto-telephony.xml
framework/moto-telephony.jar:system_ext/framework/moto-telephony.jar
# Radio - IMS
-system_ext/app/ImsRcsService/ImsRcsService.apk