Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bypass DexFile's security check for RootService (topjohnwu#5911)
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.
- Loading branch information