mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-05-01 23:14:26 +02:00
Fix SDK 27 and 28 tests
This commit is contained in:
parent
c05e963f37
commit
4fb6a7268c
@ -408,7 +408,7 @@ static rust::Vec<ModuleInfo> collect_modules(bool zygisk_enabled, bool open_zygi
|
|||||||
if (faccessat(modfd, "disable", F_OK, 0) == 0)
|
if (faccessat(modfd, "disable", F_OK, 0) == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
ModuleInfo info{};
|
ModuleInfo info{{}, -1, -1};
|
||||||
if (zygisk_enabled) {
|
if (zygisk_enabled) {
|
||||||
// Riru and its modules are not compatible with zygisk
|
// Riru and its modules are not compatible with zygisk
|
||||||
if (entry->d_name == "riru-core"sv || faccessat(modfd, "riru", F_OK, 0) == 0) {
|
if (entry->d_name == "riru-core"sv || faccessat(modfd, "riru", F_OK, 0) == 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user