Make zygote notifier more reliable

This commit is contained in:
topjohnwu
2019-03-06 18:22:04 -05:00
parent 6226f875ff
commit 82c864d57e
6 changed files with 31 additions and 25 deletions

View File

@@ -129,6 +129,7 @@ int app_process_main(int argc, char *argv[]) {
int fd = connect_daemon();
write_int(fd, ZYGOTE_NOTIFY);
write_string(fd, path);
read_int(fd);
close(fd);
} else {
// Redirect to system mirror