mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 01:17:47 +00:00
Device using split policy can still have monolithic sepolicy file
This commit is contained in:
parent
dd5a3416bf
commit
0f07bbb3e5
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user