mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
idle via a local Runnable rather than having whole class implement it.
This commit is contained in:
parent
20aad594e4
commit
3798084dab
1 changed files with 8 additions and 7 deletions
|
@ -32,7 +32,7 @@ import org.eehouse.android.xw4.jni.JNIThread.*;
|
|||
import org.eehouse.android.xw4.jni.CurGameInfo.DeviceRole;
|
||||
|
||||
|
||||
public class BoardActivity extends Activity implements UtilCtxt, Runnable {
|
||||
public class BoardActivity extends Activity implements UtilCtxt {
|
||||
|
||||
private static final int PICK_TILE_REQUEST = 1;
|
||||
private static final int QUERY_REQUEST = 2;
|
||||
|
@ -318,12 +318,13 @@ public class BoardActivity extends Activity implements UtilCtxt, Runnable {
|
|||
return bonus;
|
||||
}
|
||||
|
||||
public void run() {
|
||||
m_jniThread.handle( JNIThread.JNICmd.CMD_DO );
|
||||
}
|
||||
|
||||
public void requestTime() {
|
||||
m_handler.post( this );
|
||||
public void requestTime()
|
||||
{
|
||||
m_handler.post( new Runnable() {
|
||||
public void run() {
|
||||
m_jniThread.handle( JNIThread.JNICmd.CMD_DO );
|
||||
}
|
||||
} );
|
||||
}
|
||||
|
||||
public void remSelected()
|
||||
|
|
Loading…
Add table
Reference in a new issue