mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-21 15:05:28 +00:00
daemon: some samsung devices using incorrect mediatek-res path
This commit is contained in:
parent
f4502f8be8
commit
7dbb973db5
@ -373,6 +373,11 @@ static void daemon_entry() {
|
|||||||
}
|
}
|
||||||
LOGI("* Device API level: %d\n", SDK_INT);
|
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();
|
restore_tmpcon();
|
||||||
|
|
||||||
// Cleanups
|
// Cleanups
|
||||||
|
Loading…
Reference in New Issue
Block a user