From 541ba357bbe7709642752ec003cec592f51f49fe Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Wed, 7 Jun 2017 11:26:58 +0800 Subject: [PATCH] Fix prop issues --- jni/daemon/bootstages.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jni/daemon/bootstages.c b/jni/daemon/bootstages.c index ac99a63aa..6933adcbc 100644 --- a/jni/daemon/bootstages.c +++ b/jni/daemon/bootstages.c @@ -529,6 +529,9 @@ void post_fs_data(int client) { new_img = 1; } + // Initialize resetprop for the daemon + init_resetprop(); + LOGI("* Mounting " MAINIMG "\n"); // Mounting magisk image char *magiskloop = mount_image(MAINIMG, MOUNTPOINT); @@ -685,9 +688,6 @@ void post_fs_data(int client) { bind_mount(HOSTSFILE, "/system/etc/hosts"); } - // Initialize resetprop for the daemon - init_resetprop(); - // Start magiskhide if enabled char *hide_prop = getprop(MAGISKHIDE_PROP); if (hide_prop) {