1
mirror of https://github.com/topjohnwu/Magisk synced 2024-11-19 05:07:26 +01:00

Change MagiskHide state if logd is disabled

This commit is contained in:
topjohnwu 2018-03-18 12:02:56 +08:00
parent 1b7657a374
commit ae97d011ae

View File

@ -54,6 +54,9 @@ void launch_magiskhide(int client) {
write_int(client, LOGD_DISABLED);
close(client);
}
setprop(MAGISKHIDE_PROP, "0");
// Remove without actually removing persist props
deleteprop2(MAGISKHIDE_PROP, 0);
return;
}