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();