V3.1.3 - Moved SMS timer creation to avoid an (intermittent?) fault about handlers and looper.prepare()
This commit is contained in:
BIN
app/release/app-release-3.1.3.apk
Normal file
BIN
app/release/app-release-3.1.3.apk
Normal file
Binary file not shown.
@@ -1 +1 @@
|
||||
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":56,"versionName":"3.1.2","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
|
||||
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":57,"versionName":"3.1.3","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="uk.org.openseizuredetector"
|
||||
android:versionCode="56"
|
||||
android:versionName="3.1.2"
|
||||
android:versionCode="57"
|
||||
android:versionName="3.1.3"
|
||||
>
|
||||
<!--android:allowBackup="false"-->
|
||||
|
||||
|
||||
@@ -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