Commit e864919c authored by topjohnwu's avatar topjohnwu

Jellybean supports modules

parent c72d83b6
...@@ -393,9 +393,8 @@ static bool magisk_env() { ...@@ -393,9 +393,8 @@ static bool magisk_env() {
VLOGI("link", MIRRMNT(system) "/product", MIRRMNT(product)); VLOGI("link", MIRRMNT(system) "/product", MIRRMNT(product));
} }
// Disable/remove magiskhide, resetprop, and modules // Disable/remove magiskhide, resetprop
if (SDK_INT < 19) { if (SDK_INT < 19) {
close(xopen(DISABLEFILE, O_RDONLY | O_CREAT | O_CLOEXEC, 0));
unlink("/sbin/resetprop"); unlink("/sbin/resetprop");
unlink("/sbin/magiskhide"); unlink("/sbin/magiskhide");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment