From ec4b32348883f043934b27ea7bc953992d26ab09 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Mon, 19 Mar 2018 17:36:28 +0100 Subject: [PATCH] partially revert due to lacking release where that could have appeared --- uninstaller/META-INF/com/google/android/update-binary | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/uninstaller/META-INF/com/google/android/update-binary b/uninstaller/META-INF/com/google/android/update-binary index 28ca8c5..11477ce 100644 --- a/uninstaller/META-INF/com/google/android/update-binary +++ b/uninstaller/META-INF/com/google/android/update-binary @@ -185,11 +185,7 @@ system_mode_uninstall () { for sapp in Settings SecSettings SecSettings2; do if grep -q /system/priv-app/${sapp}/${sapp}.apk ${system_list}; then - if [ -f /sdcard/nanodroid_backups/${sapp}.apk ]; then - ui_print " << restoring: unpatched ${sapp}.apk" - mv /sdcard/nanodroid_backups/${sapp}.apk /system/priv-app/${sapp}/${sapp}.apk \ - || error " !! failed to restore ${sapp}.apk" - elif [ -f /sdcard/${sapp}.apk ]; then + if [ -f /sdcard/${sapp}.apk ]; then ui_print " << restoring: unpatched ${sapp}.apk" mv /sdcard/${sapp}.apk /system/priv-app/${sapp}/${sapp}.apk \ || error " !! failed to restore ${sapp}.apk"