diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java index 1d0eb400c..bef99fee6 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java @@ -1789,9 +1789,6 @@ public class BoardActivity extends XWActivity Handler handler = new Handler() { public void handleMessage( Message msg ) { switch( msg.what ) { - case JNIThread.DRAW: - m_view.invalidate(); - break; case JNIThread.DIALOG: m_dlgBytes = (String)msg.obj; m_dlgTitle = msg.arg1; 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 6d268d82e..175aab820 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,12 +96,11 @@ public class JNIThread extends Thread { }; public static final int RUNNING = 1; - public static final int DRAW = 2; - public static final int DIALOG = 3; - public static final int QUERY_ENDGAME = 4; - public static final int TOOLBAR_STATES = 5; - public static final int GOT_WORDS = 6; - public static final int GAME_OVER = 7; + public static final int DIALOG = 2; + public static final int QUERY_ENDGAME = 3; + public static final int TOOLBAR_STATES = 4; + public static final int GOT_WORDS = 5; + public static final int GAME_OVER = 6; public class GameStateInfo implements Cloneable { public int visTileCount; @@ -623,10 +622,6 @@ public class JNIThread extends Thread { // of the same bitmap for blitting. m_drawer.doJNIDraw(); - // main UI thread has to invalidate view as it created - // it. - Message.obtain( m_handler, DRAW ).sendToTarget(); - checkButtons(); } } // for