mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-14 11:47:26 +00:00
Device using split policy can still have monolithic sepolicy file
This commit is contained in:
@@ -235,7 +235,7 @@ void SARBase::patch_ro_root() {
|
||||
}
|
||||
}
|
||||
|
||||
if (access("/sepolicy", F_OK) == 0) {
|
||||
if (access(SPLIT_PLAT_CIL, F_OK) != 0 && access("/sepolicy", F_OK) == 0) {
|
||||
patch_sepolicy(ROOTOVL "/sepolicy");
|
||||
} else {
|
||||
hijack_sepolicy();
|
||||
|
Reference in New Issue
Block a user