optimization

This commit is contained in:
kotori2 2022-02-08 17:43:55 +08:00 committed by LoveSy
parent 7e3d57353e
commit 771bd77585
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ Java_org_lsposed_lspd_service_ObfuscationManager_preloadDex(JNIEnv *env, jclass
using namespace std::string_literals;
std::lock_guard lg(dex_lock);
if (lspdDex != -1) return lspdDex;
std::string dex_path = "framework/lspd.dex";
const std::string dex_path = "framework/lspd.dex";
std::unique_ptr<FILE, decltype(&fclose)> f{fopen(dex_path.data(), "rb"), &fclose};