mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-26 21:40:42 +00:00
daemon: some samsung devices using incorrect mediatek-res path
This commit is contained in:
parent
f4502f8be8
commit
7dbb973db5
@ -372,6 +372,11 @@ static void daemon_entry() {
|
||||
}
|
||||
}
|
||||
LOGI("* Device API level: %d\n", SDK_INT);
|
||||
|
||||
// Samsung workaround #7887
|
||||
if (access("/system_ext/app/mediatek-res/mediatek-res.apk", F_OK) == 0) {
|
||||
set_prop("ro.vendor.mtk_model", "0");
|
||||
}
|
||||
|
||||
restore_tmpcon();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user