Commit 0b9d932f authored by swift_gan's avatar swift_gan Committed by ganyao114

disable forceProcessProfiles in Q

parent ab0c1683
...@@ -70,7 +70,7 @@ bool doHookWithReplacement(JNIEnv* env, ...@@ -70,7 +70,7 @@ bool doHookWithReplacement(JNIEnv* env,
hookMethod->disableCompilable(); hookMethod->disableCompilable();
} }
if (SDK_INT > ANDROID_N) { if (SDK_INT > ANDROID_N && SDK_INT < ANDROID_Q) {
forceProcessProfiles(); forceProcessProfiles();
} }
if ((SDK_INT >= ANDROID_N && SDK_INT <= ANDROID_P) if ((SDK_INT >= ANDROID_N && SDK_INT <= ANDROID_P)
...@@ -122,7 +122,7 @@ bool doHookWithInline(JNIEnv* env, ...@@ -122,7 +122,7 @@ bool doHookWithInline(JNIEnv* env,
} }
originMethod->disableCompilable(); originMethod->disableCompilable();
if (SDK_INT > ANDROID_N) { if (SDK_INT > ANDROID_N && SDK_INT < ANDROID_Q) {
forceProcessProfiles(); forceProcessProfiles();
} }
if ((SDK_INT >= ANDROID_N && SDK_INT <= ANDROID_P) if ((SDK_INT >= ANDROID_N && SDK_INT <= ANDROID_P)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment