mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-24 15:59:39 +00:00
Expose persist prop API
This commit is contained in:
@@ -133,11 +133,10 @@ static void kill_process(const char *name) {
|
||||
|
||||
void clean_magisk_props() {
|
||||
LOGD("hide_utils: Cleaning magisk props\n");
|
||||
getprop_all([] (const char *name, auto, auto) -> void
|
||||
{
|
||||
if (strstr(name, "magisk"))
|
||||
deleteprop2(name, 0);
|
||||
}, nullptr);
|
||||
getprop_all([](const char *name, auto, auto) -> void {
|
||||
if (strstr(name, "magisk"))
|
||||
deleteprop2(name, 0);
|
||||
}, nullptr, 0);
|
||||
}
|
||||
|
||||
static int add_list(sqlite3 *db, char *proc) {
|
||||
|
||||
Reference in New Issue
Block a user