diff --git a/app/release/app-release-3.0.3.apk b/app/release/app-release-3.0.3.apk new file mode 100644 index 0000000..8982839 Binary files /dev/null and b/app/release/app-release-3.0.3.apk differ diff --git a/app/release/output.json b/app/release/output.json index 378d536..ab2fe44 100644 --- a/app/release/output.json +++ b/app/release/output.json @@ -1 +1 @@ -[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":51,"versionName":"3.0.2","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}] \ No newline at end of file +[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":52,"versionName":"3.0.3","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}] \ No newline at end of file diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 23e36ee..174c257 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,8 +1,8 @@ diff --git a/app/src/main/java/uk/org/openseizuredetector/BootBroadcastReceiver.java b/app/src/main/java/uk/org/openseizuredetector/BootBroadcastReceiver.java index dad6616..6a781d2 100644 --- a/app/src/main/java/uk/org/openseizuredetector/BootBroadcastReceiver.java +++ b/app/src/main/java/uk/org/openseizuredetector/BootBroadcastReceiver.java @@ -49,9 +49,9 @@ public class BootBroadcastReceiver extends BroadcastReceiver { boolean autoStart = SP.getBoolean("AutoStart",false); Log.v(TAG,"onReceive() - autoStart = "+autoStart); if (autoStart && Intent.ACTION_BOOT_COMPLETED.equals(intent.getAction())) { - Intent startUpIntent = new Intent(context, SdServer.class); + Intent startUpIntent = new Intent(context, StartupActivity.class); startUpIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); - context.startService(startUpIntent); + context.startActivity(startUpIntent); } } } diff --git a/app/src/main/java/uk/org/openseizuredetector/StartupActivity.java b/app/src/main/java/uk/org/openseizuredetector/StartupActivity.java index c3cdaad..b6e0515 100644 --- a/app/src/main/java/uk/org/openseizuredetector/StartupActivity.java +++ b/app/src/main/java/uk/org/openseizuredetector/StartupActivity.java @@ -501,6 +501,7 @@ public class StartupActivity extends Activity { + "http://openseizuredetector.org.uk, or the app Facebook page at https://www.facebook.com/openseizuredetector. " + "so I can get in touch if necessary.\nThank you! Graham \ngraham@openseizuredetector.org.uk " + "\n\nChanges in this version:" + + "\n- V3.0.3 - Fixed problem with crash on phone boot if Auto Start on Boot option selected" + "\n- Upgraded to be compatible with Android Version 9" + "\n- Added support a Garmin based seizure detector with Heart Rate alarm " + "\n Fixed problem with app not restarting properly when settings were changed" @@ -535,6 +536,7 @@ public class StartupActivity extends Activity { + "http://openseizuredetector.org.uk, or the app Facebook page at https://www.facebook.com/openseizuredetector. " + "so I can get in touch if necessary.\nThank you! Graham \ngraham@openseizuredetector.org.uk " + "\n\nChanges in this version:" + + "\n- V3.0.3 - Fixed problem with crash on phone boot if Auto Start on Boot option selected" + "\n- Upgraded to be compatible with Android Version 9" + "\n- Added support for a Garmin based seizure detector with Heart Rate alarm " + "\n- Fixed problem with app not restarting properly when settings were changed"