Remove security patch fixup script

This is causing more issues than it fixes.

Fixes #1.
This commit is contained in:
Danny Lin 2021-01-16 01:14:34 -08:00
parent e82c3d0674
commit 21d4d1d863
No known key found for this signature in database
GPG Key ID: 1988FAA1797EE5AC

View File

@ -1,12 +0,0 @@
#!/system/bin/sh
set -eufo pipefail
system_patch="$(getprop ro.build.version.security_patch)"
vendor_patch="$(getprop ro.vendor.build.security_patch)"
# Fix mismatching security patch levels if vendor patch is not empty
if [[ ! -z "$vendor_patch" ]] && [[ "$system_patch" != "$vendor_patch" ]]; then
resetprop ro.build.version.security_patch "$vendor_patch"
resetprop ro.build.version.real_security_patch "$system_patch"
fi