From a612a89ac6728fbfbffcc4ab735497f9c4786a35 Mon Sep 17 00:00:00 2001 From: Eric House Date: Sun, 2 Aug 2015 16:15:32 -0700 Subject: [PATCH] fix variant crashes: had forgotten PKG_PATH on new method --- xwords4/android/XWords4/jni/utilwrapper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xwords4/android/XWords4/jni/utilwrapper.c b/xwords4/android/XWords4/jni/utilwrapper.c index ed100cf5e..d9f6cd1c3 100644 --- a/xwords4/android/XWords4/jni/utilwrapper.c +++ b/xwords4/android/XWords4/jni/utilwrapper.c @@ -643,11 +643,11 @@ static void and_util_deviceRegistered( XW_UtilCtxt* uc, DevIDType typ, const XP_UCHAR* idRelay ) { - UTIL_CBK_HEADER( "deviceRegistered", "(Lorg/eehouse/android/xw4/" - "jni/UtilCtxt$DevIDType;Ljava/lang/String;)V" ); + UTIL_CBK_HEADER( "deviceRegistered", + "(L" PKG_PATH("jni/UtilCtxt$DevIDType") ";Ljava/lang/String;)V" ); jstring jstr = (*env)->NewStringUTF( env, idRelay ); jobject jtyp = intToJEnum( env, typ, - "org/eehouse/android/xw4/jni/UtilCtxt$DevIDType" ); + PKG_PATH("jni/UtilCtxt$DevIDType") ); (*env)->CallVoidMethod( env, util->jutil, mid, jtyp, jstr ); deleteLocalRefs( env, jstr, jtyp, DELETE_NO_REF ); UTIL_CBK_TAIL();