From dd2b4998406d298101692b8c48a04b5b6e6fab5d Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sat, 15 Aug 2020 20:56:03 +0200 Subject: [PATCH] patcher rename a function --- patcher/CommonPatcher | 2 +- patcher/META-INF/com/google/android/update-binary | 2 +- patcher/dexpatcher/70-nanodroidpatcher.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/patcher/CommonPatcher b/patcher/CommonPatcher index b9753a9..2bae351 100644 --- a/patcher/CommonPatcher +++ b/patcher/CommonPatcher @@ -407,7 +407,7 @@ detect_sdk () { # by @ale5000 ########################################################################################## -search_fake_package_signature () { +check_fake_package_signature () { PERMISSION=android.permission.FAKE_PACKAGE_SIGNATURE PERMISSION_OD=$(echo -n "${PERMISSION}" | od -A n -t x1 | tr -d '\n' | sed -e 's/^ //g;s/ /00/g') HAS_FAKESIGN=false diff --git a/patcher/META-INF/com/google/android/update-binary b/patcher/META-INF/com/google/android/update-binary index 2aad247..32cc69d 100644 --- a/patcher/META-INF/com/google/android/update-binary +++ b/patcher/META-INF/com/google/android/update-binary @@ -35,7 +35,7 @@ setup_patcher detect_sdk detect_arch -if search_fake_package_signature; then +if check_fake_package_signature; then error " ROM has native signature spoofing already!" fi diff --git a/patcher/dexpatcher/70-nanodroidpatcher.sh b/patcher/dexpatcher/70-nanodroidpatcher.sh index cb82071..0138fd7 100644 --- a/patcher/dexpatcher/70-nanodroidpatcher.sh +++ b/patcher/dexpatcher/70-nanodroidpatcher.sh @@ -45,7 +45,7 @@ NanoDroidPatcher () { detect_sdk detect_arch - if search_fake_package_signature; then + if check_fake_package_signature; then ui_print " ROM has native signature spoofing already!" exit 0 fi