Merge "Call the right JNI helper." am: e032bc4139 am: a029521318 am: 21e85559f4

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1984966

Change-Id: I64772539c56e192e76b412048e94d8e7711eb403
This commit is contained in:
Nicolas Geoffray
2022-02-14 12:59:57 +00:00
committed by Automerger Merge Worker

View File

@@ -1626,7 +1626,7 @@ static void SpecializeCommon(JNIEnv* env, uid_t uid, gid_t gid, jintArray gids,
}
// Also prefetch standalone system server jars. The reason for doing this here is the same
// as above.
env->CallStaticObjectMethod(gZygoteInitClass, gPrefetchStandaloneSystemServerJars);
env->CallStaticVoidMethod(gZygoteInitClass, gPrefetchStandaloneSystemServerJars);
if (env->ExceptionCheck()) {
env->ExceptionClear();
}