Ignore vendor ims.apk if it uses Oreo APIs
Change-Id: I7446d0220ef7cb98ed833d7121ab907e90ebc239
diff --git a/rw-system.sh b/rw-system.sh
index 7144e8d..e64bbee 100644
--- a/rw-system.sh
+++ b/rw-system.sh
@@ -157,3 +157,7 @@
if [ "$vndk" == 27 -o "$vndk" == 26 ];then
mount -o bind /system/phh/libnfc-nci-oreo.conf /system/etc/libnfc-nci.conf
fi
+
+if busybox_phh unzip -p /vendor/app/ims/ims.apk classes.dex |grep -qF -e Landroid/telephony/ims/feature/MmTelFeature -e Landroid/telephony/ims/feature/MMTelFeature;then
+ mount -o bind /system/phh/empty /vendor/app/ims/ims.apk
+fi