Remove enforcement

Enforcement will be re-implemented later
This commit is contained in:
topjohnwu
2022-05-11 00:31:18 -07:00
committed by John Wu
parent 05d6d2b51b
commit 029422679c
8 changed files with 17 additions and 76 deletions
+2 -3
View File
@@ -84,12 +84,11 @@ protected:
* DB Strings *
**************/
constexpr const char *DB_STRING_KEYS[] = { "requester", "cert_digest" };
constexpr const char *DB_STRING_KEYS[] = { "requester" };
// Strings keys indices
enum {
SU_MANAGER = 0,
CERT_DIGEST
SU_MANAGER = 0
};
class db_strings : public db_dict<std::string, std::size(DB_STRING_KEYS)> {
-1
View File
@@ -35,7 +35,6 @@ constexpr const char *applet_names[] = { "su", "resetprop", nullptr };
extern int SDK_INT;
#define APP_DATA_DIR (SDK_INT >= 24 ? "/data/user_de" : "/data/user")
extern std::string APKCERT;
// Multi-call entrypoints
int magisk_main(int argc, char *argv[]);