refine mount prop

This commit is contained in:
5ec1cff
2024-01-02 23:33:15 +08:00
parent 977bd7753d
commit cbd0f0f0c3
7 changed files with 34 additions and 7 deletions

View File

@@ -125,4 +125,15 @@ namespace zygiskd {
PLOGE("Failed to request ZygoteRestart");
}
}
void SystemServerStarted() {
UniqueFd fd = Connect(1);
if (fd == -1) {
PLOGE("Failed to report system server started");
} else {
if (!socket_utils::write_u8(fd, (uint8_t) SocketAction::SystemServerStarted)) {
PLOGE("Failed to report system server started");
}
}
}
}