From 75e37be6f3e96c2080e45c422af0c134c388a0e2 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Sun, 5 Nov 2023 23:02:40 -0800 Subject: [PATCH] Do not need to check pkg in magisk_env --- native/src/core/bootstages.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/native/src/core/bootstages.cpp b/native/src/core/bootstages.cpp index 166722f32..949fb2284 100644 --- a/native/src/core/bootstages.cpp +++ b/native/src/core/bootstages.cpp @@ -222,8 +222,6 @@ static bool magisk_env() { LOGI("* Initializing Magisk environment\n"); preserve_stub_apk(); - string pkg; - get_manager(0, &pkg); // Directories in /data/adb xmkdir(DATABIN, 0755);