Massive refactoring

Remove post-fs mode
This commit is contained in:
topjohnwu
2018-04-22 02:16:56 +08:00
parent 614c552e55
commit 9484ec0c17
9 changed files with 202 additions and 248 deletions

View File

@@ -135,7 +135,7 @@ int magiskhide_main(int argc, char *argv[]) {
} else {
usage(argv[0]);
}
int fd = connect_daemon();
int fd = connect_daemon(0);
write_int(fd, req);
if (req == ADD_HIDELIST || req == RM_HIDELIST) {
write_string(fd, argv[2]);