mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-15 18:10:23 +00:00
Reboot to recovery when running as recovery
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
/* daemon.h - Utility functions for daemon-client communication
|
||||
*/
|
||||
|
||||
#ifndef _DAEMON_H_
|
||||
#define _DAEMON_H_
|
||||
#pragma once
|
||||
|
||||
#include <pthread.h>
|
||||
#include <sys/un.h>
|
||||
@@ -87,4 +83,5 @@ void magiskhide_handler(int client);
|
||||
|
||||
void su_daemon_handler(int client, struct ucred *credential);
|
||||
|
||||
#endif
|
||||
extern int SDK_INT;
|
||||
extern bool RECOVERY_MODE;
|
||||
|
@@ -26,8 +26,6 @@
|
||||
// Legacy crap
|
||||
#define LEGACYCORE MODULEROOT "/.core"
|
||||
|
||||
extern int SDK_INT;
|
||||
|
||||
constexpr const char *applet_names[] = { "magisk", "su", "resetprop", "magiskhide", nullptr };
|
||||
|
||||
// Multi-call entrypoints
|
||||
|
Reference in New Issue
Block a user