Make sure boot stages are mutually exclusive

This commit is contained in:
topjohnwu
2020-12-15 03:40:37 -08:00
parent 7ff22c68c7
commit 086059ec30
4 changed files with 26 additions and 28 deletions

View File

@ -247,7 +247,7 @@ int launch_magiskhide() {
return DAEMON_ERROR;
hide_sensitive_props();
if (DAEMON_STATE >= STATE_BOOT_COMPLETE)
if (DAEMON_STATE >= STATE_BOOT_COMPLETE || DAEMON_STATE == STATE_NONE)
hide_late_sensitive_props();
// Start monitoring