From 2282a976f31d114cf0c8b35d0877d6b7a468609a Mon Sep 17 00:00:00 2001 From: Eric House Date: Mon, 27 Feb 2012 20:01:12 -0800 Subject: [PATCH] add missing PKG_PATH invocation --- xwords4/android/XWords4/jni/utilwrapper.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/xwords4/android/XWords4/jni/utilwrapper.c b/xwords4/android/XWords4/jni/utilwrapper.c index 19c4b831e..c46455081 100644 --- a/xwords4/android/XWords4/jni/utilwrapper.c +++ b/xwords4/android/XWords4/jni/utilwrapper.c @@ -25,6 +25,7 @@ #include "utilwrapper.h" #include "anddict.h" #include "andutils.h" +#include "paths.h" #include "LocalizedStrIncludes.h" typedef struct _TimerStorage { @@ -469,11 +470,9 @@ and_util_informMissing(XW_UtilCtxt* uc, XP_Bool isServer, CommsConnType connType, XP_U16 nMissing ) { UTIL_CBK_HEADER( "informMissing", - "(ZLorg/eehouse/android/xw4/jni/" - "CommsAddrRec$CommsConnType;I)V" ); + "(ZL" PKG_PATH("jni/CommsAddrRec$CommsConnType") ";I)V" ); jobject jtyp = intToJEnum( env, connType, - "org/eehouse/android/xw4/jni/" - "CommsAddrRec$CommsConnType" ); + PKG_PATH("jni/CommsAddrRec$CommsConnType") ); (*env)->CallVoidMethod( env, util->jutil, mid, isServer, jtyp, nMissing ); (*env)->DeleteLocalRef( env, jtyp ); UTIL_CBK_TAIL();