V3.1.3 - Moved SMS timer creation to avoid an (intermittent?) fault about handlers and looper.prepare()
This commit is contained in:
@@ -787,11 +787,16 @@ public class SdServer extends Service implements SdDataReceiver {
|
||||
mSmsTimer = null;
|
||||
}
|
||||
Log.v(TAG, "startSmsTimer() - starting SmsTimer");
|
||||
mSmsTimer =
|
||||
new SmsTimer(10 * 1000, 1000);
|
||||
mSmsTimer.start();
|
||||
runOnUiThread(new Runnable() {
|
||||
public void run() {
|
||||
mSmsTimer =
|
||||
new SmsTimer(10 * 1000, 1000);
|
||||
mSmsTimer.start();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Cancel the SMS timer to prevent the SMS message being sent..
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user