mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
fix variant crashes: had forgotten PKG_PATH on new method
This commit is contained in:
parent
97bf616db1
commit
a612a89ac6
1 changed files with 3 additions and 3 deletions
|
@ -643,11 +643,11 @@ static void
|
||||||
and_util_deviceRegistered( XW_UtilCtxt* uc, DevIDType typ,
|
and_util_deviceRegistered( XW_UtilCtxt* uc, DevIDType typ,
|
||||||
const XP_UCHAR* idRelay )
|
const XP_UCHAR* idRelay )
|
||||||
{
|
{
|
||||||
UTIL_CBK_HEADER( "deviceRegistered", "(Lorg/eehouse/android/xw4/"
|
UTIL_CBK_HEADER( "deviceRegistered",
|
||||||
"jni/UtilCtxt$DevIDType;Ljava/lang/String;)V" );
|
"(L" PKG_PATH("jni/UtilCtxt$DevIDType") ";Ljava/lang/String;)V" );
|
||||||
jstring jstr = (*env)->NewStringUTF( env, idRelay );
|
jstring jstr = (*env)->NewStringUTF( env, idRelay );
|
||||||
jobject jtyp = intToJEnum( env, typ,
|
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 );
|
(*env)->CallVoidMethod( env, util->jutil, mid, jtyp, jstr );
|
||||||
deleteLocalRefs( env, jstr, jtyp, DELETE_NO_REF );
|
deleteLocalRefs( env, jstr, jtyp, DELETE_NO_REF );
|
||||||
UTIL_CBK_TAIL();
|
UTIL_CBK_TAIL();
|
||||||
|
|
Loading…
Reference in a new issue