You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Allow AVD hacks on release builds
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user