Fix system app crash on Android Q

This commit is contained in:
Jim Wu 2020-01-10 20:51:15 +08:00
parent f0a52b2ae4
commit 96185011cd
1 changed files with 4 additions and 1 deletions

View File

@ -17,7 +17,10 @@ namespace art {
if (api_level == ANDROID_P) {
HOOK_FUNC(SetOnlyUseSystemOatFiles,
"_ZN3art14OatFileManager24SetOnlyUseSystemOatFilesEv");
}
if (api_level == ANDROID_Q) {
HOOK_FUNC(SetOnlyUseSystemOatFiles,
"_ZN3art14OatFileManager24SetOnlyUseSystemOatFilesEbb");
}
};