remove noop function

This commit is contained in:
eehouse 2010-02-27 20:06:45 +00:00
parent a067da05db
commit 99847cd0c5
2 changed files with 1 additions and 8 deletions

View file

@ -259,7 +259,6 @@ public class BoardActivity extends Activity implements UtilCtxt {
} }
} }
} ); } );
Utils.setThread( m_jniThread );
m_jniThread.start(); m_jniThread.start();
m_view.startHandling( m_jniThread, m_jniGamePtr, m_gi ); m_view.startHandling( m_jniThread, m_jniGamePtr, m_gi );
@ -319,7 +318,6 @@ public class BoardActivity extends Activity implements UtilCtxt {
} }
if ( null != m_jniThread ) { if ( null != m_jniThread ) {
Utils.setThread( null );
m_jniThread.waitToStop(); m_jniThread.waitToStop();
Utils.logf( "onDestroy(): waitToStop() returned" ); Utils.logf( "onDestroy(): waitToStop() returned" );

View file

@ -26,7 +26,7 @@ import org.eehouse.android.xw4.jni.JNIThread.*;
public class Utils { public class Utils {
static final String TAG = "EJAVA"; static final String TAG = "EJAVA";
private static JNIThread s_jniThread = null; // private static JNIThread s_jniThread = null;
private static Time s_time = new Time(); private static Time s_time = new Time();
private Utils() {} private Utils() {}
@ -55,11 +55,6 @@ public class Utils {
Toast.makeText( context, text, Toast.LENGTH_LONG ).show(); Toast.makeText( context, text, Toast.LENGTH_LONG ).show();
} }
public static void setThread( JNIThread thread )
{
s_jniThread = thread;
}
public static byte[] savedGame( Context context, String path ) public static byte[] savedGame( Context context, String path )
{ {
byte[] stream = null; byte[] stream = null;