Implement magiskinit logging in Rust

This commit is contained in:
topjohnwu
2023-05-02 16:49:43 -07:00
parent 0d84f80b3c
commit b136aba1e2
8 changed files with 84 additions and 83 deletions

View File

@@ -349,7 +349,7 @@ void MagiskInit::patch_rw_root() {
}
int magisk_proxy_main(int argc, char *argv[]) {
setup_klog();
rust::setup_klog();
LOGD("%s\n", __FUNCTION__);
// Mount rootfs as rw to do post-init rootfs patches