From dd6f779e77ee622c4fa5627941f3ece65c5d2afe Mon Sep 17 00:00:00 2001 From: Gulshan Singh Date: Fri, 9 Jun 2023 12:18:53 -0700 Subject: [PATCH] android: Make art::Thread::DecodeJObject() optional (#289) As it is only used on Android < 6. --- lib/android.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/android.js b/lib/android.js index 546ea5a..e324d7c 100644 --- a/lib/android.js +++ b/lib/android.js @@ -314,6 +314,7 @@ function _getApi () { '_ZN3art9JavaVMExt12AddGlobalRefEPNS_6ThreadEPNS_6mirror6ObjectE', '_ZN3art9JavaVMExt12DecodeGlobalEPv', '_ZN3art9JavaVMExt12DecodeGlobalEPNS_6ThreadEPv', + '_ZNK3art6Thread13DecodeJObjectEP8_jobject' '_ZN3art10ThreadList10SuspendAllEPKcb', '_ZN3art10ThreadList10SuspendAllEv', '_ZN3art11ClassLinker12VisitClassesEPNS_12ClassVisitorE', @@ -353,7 +354,7 @@ function _getApi () { '_ZN3art3Dbg9gRegistryE', '_ZN3art3jni12JniIdManager14DecodeMethodIdEP10_jmethodID', '_ZN3art11interpreter18GetNterpEntryPointEv', - '_ZN3art7Monitor17TranslateLocationEPNS_9ArtMethodEjPPKcPi' + '_ZN3art7Monitor17TranslateLocationEPNS_9ArtMethodEjPPKcPi', ] }] : [{