mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
remove noop function
This commit is contained in:
parent
a067da05db
commit
99847cd0c5
2 changed files with 1 additions and 8 deletions
|
@ -259,7 +259,6 @@ public class BoardActivity extends Activity implements UtilCtxt {
|
|||
}
|
||||
}
|
||||
} );
|
||||
Utils.setThread( m_jniThread );
|
||||
m_jniThread.start();
|
||||
|
||||
m_view.startHandling( m_jniThread, m_jniGamePtr, m_gi );
|
||||
|
@ -319,7 +318,6 @@ public class BoardActivity extends Activity implements UtilCtxt {
|
|||
}
|
||||
|
||||
if ( null != m_jniThread ) {
|
||||
Utils.setThread( null );
|
||||
m_jniThread.waitToStop();
|
||||
Utils.logf( "onDestroy(): waitToStop() returned" );
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ import org.eehouse.android.xw4.jni.JNIThread.*;
|
|||
|
||||
public class Utils {
|
||||
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 Utils() {}
|
||||
|
@ -55,11 +55,6 @@ public class Utils {
|
|||
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 )
|
||||
{
|
||||
byte[] stream = null;
|
||||
|
|
Loading…
Reference in a new issue