Allow AVD hacks on release builds

This commit is contained in:
topjohnwu
2023-10-11 14:17:31 -07:00
parent 187f583c95
commit e774408782
2 changed files with 1 additions and 6 deletions
-2
View File
@@ -236,7 +236,6 @@ void MagiskInit::patch_ro_root() {
xrename("overlay.d", ROOTOVL);
#if MAGISK_DEBUG
extern bool avd_hack;
// Handle avd hack
if (avd_hack) {
@@ -252,7 +251,6 @@ void MagiskInit::patch_ro_root() {
close(src);
close(dest);
}
#endif
load_overlay_rc(ROOTOVL);
if (access(ROOTOVL "/sbin", F_OK) == 0) {