mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-03-27 04:12:25 +00:00

Old Android (pre 8.0) enforces `optimizedDirectory` to have the same uid with the process. If repackaged, root service (uid=0) will crash when trying to load current.apk. So we set `optimizedDirectory` to null to bypass the check.