If we have both vendor and boot security_patch, prefer vendor security_patch

This commit is contained in:
Pierre-Hugues Husson 2019-08-22 10:59:08 +02:00
parent ef0936947e
commit d45861e585
1 changed files with 1 additions and 0 deletions

View File

@ -397,6 +397,7 @@ if [ -f /system/phh/secure ];then
copyprop ro.product.manufacturer ro.vendor.product.manufacturer
copyprop ro.product.manufacturer ro.product.vendor.manufacturer
copyprop ro.build.version.security_patch ro.keymaster.xxx.security_patch
copyprop ro.build.version.security_patch ro.vendor.build.security_patch
resetprop ro.build.tags release-keys
resetprop ro.boot.vbmeta.device_state locked
resetprop ro.boot.verifiedbootstate green