Remove force_pm_install

gms package verifier only checks the `notBefore` value of the certificate
This commit is contained in:
vvb2060
2020-06-26 17:43:39 +08:00
committed by John Wu
parent 706eba329d
commit 08818e8542
3 changed files with 4 additions and 24 deletions
-10
View File
@@ -85,16 +85,6 @@ EOF
cd /
}
force_pm_install() {
local APK=$1
local VERIFY=`settings get global package_verifier_enable`
[ "$VERIFY" -eq 1 ] && settings put global package_verifier_enable 0
pm install -r $APK
local res=$?
[ "$VERIFY" -eq 1 ] && settings put global package_verifier_enable 1
return $res
}
check_boot_ramdisk() {
# Create boolean ISAB
[ -z $SLOT ] && ISAB=false || ISAB=true