From df6257646c210a570079870199cdeb18b22e2dd7 Mon Sep 17 00:00:00 2001 From: kotori0 Date: Thu, 19 Nov 2020 20:33:52 +0800 Subject: [PATCH] Fix ClassLinker offset for Android 8 --- .../src/main/cpp/main/include/art/runtime/class_linker.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/edxp-core/src/main/cpp/main/include/art/runtime/class_linker.h b/edxp-core/src/main/cpp/main/include/art/runtime/class_linker.h index 11271e4f..ca457a8e 100644 --- a/edxp-core/src/main/cpp/main/include/art/runtime/class_linker.h +++ b/edxp-core/src/main/cpp/main/include/art/runtime/class_linker.h @@ -72,9 +72,9 @@ namespace art { case __ANDROID_API_O__: case __ANDROID_API_O_MR1__: #ifdef __LP64__ - OFFSET_classlinker = 400 / 8; + OFFSET_classlinker = 464 / 8; #else - OFFSET_classlinker = 240 / 4; + OFFSET_classlinker = 284 / 4; #endif break; case __ANDROID_API_P__: