Rewrite magisk logging implementation

This commit is contained in:
topjohnwu
2025-01-11 00:11:48 +08:00
committed by John Wu
parent 7098248c64
commit ee6810f417
6 changed files with 145 additions and 142 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ static void handle_request_sync(int client, int code) {
write_int(client, MAGISK_VER_CODE);
break;
case +RequestCode::START_DAEMON:
MagiskD().setup_logfile();
setup_logfile();
break;
case +RequestCode::STOP_DAEMON: {
// Unmount all overlays