diff --git a/xwords4/android/XWords4/jni/xwjni.c b/xwords4/android/XWords4/jni/xwjni.c index 43c1e60ff..03c67b46a 100644 --- a/xwords4/android/XWords4/jni/xwjni.c +++ b/xwords4/android/XWords4/jni/xwjni.c @@ -1256,6 +1256,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_game_1getState game_getState( &state->game, &info ); setInt( env, jgsi, "visTileCount", info.visTileCount ); + setInt( env, jgsi, "trayVisState", info.trayVisState ); setBool( env, jgsi, "canHint", info.canHint ); setBool( env, jgsi, "canRedo", info.canRedo); setBool( env, jgsi, "inTrade", info.inTrade ); diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java index c5a13473e..cf776ad6d 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java @@ -96,6 +96,7 @@ public class JNIThread extends Thread { public class GameStateInfo implements Cloneable { public int visTileCount; + public int trayVisState; public boolean canHint; public boolean canRedo; public boolean inTrade;