Made mainactivity 'exit' menu function the same as mainactivity2 for consistency.
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
OpenSeizureDetector Android App - Change Log
|
OpenSeizureDetector Android App - Change Log
|
||||||
============================================
|
============================================
|
||||||
|
V4.2.1 - Added support for PineTime wathes using the Bluetooth Data Source
|
||||||
V4.1.0 - Added experimental support for neural network based seizure detector.
|
V4.1.0 - Added experimental support for neural network based seizure detector.
|
||||||
V4.0.7 - Improvements to Data Sharing data log manager screen
|
V4.0.7 - Improvements to Data Sharing data log manager screen
|
||||||
- Removed automatic refresh of shared data events list (Issue #62)
|
- Removed automatic refresh of shared data events list (Issue #62)
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:versionCode="135"
|
android:versionCode="136"
|
||||||
android:versionName="4.2.1">
|
android:versionName="4.2.2">
|
||||||
<!-- android:allowBackup="false" -->
|
<!-- android:allowBackup="false" -->
|
||||||
<uses-permission android:name="android.permission.BLUETOOTH" />
|
<uses-permission android:name="android.permission.BLUETOOTH" />
|
||||||
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
|
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
|
||||||
|
|||||||
@@ -282,6 +282,8 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
Log.i(TAG, "Stopping Server");
|
Log.i(TAG, "Stopping Server");
|
||||||
mUtil.unbindFromServer(getApplicationContext(), mConnection);
|
mUtil.unbindFromServer(getApplicationContext(), mConnection);
|
||||||
stopServer();
|
stopServer();
|
||||||
|
// we exit the activity when the server is stopped to make it consistent with MainActivity2
|
||||||
|
finish();
|
||||||
} else {
|
} else {
|
||||||
Log.i(TAG, "Starting Server");
|
Log.i(TAG, "Starting Server");
|
||||||
startServer();
|
startServer();
|
||||||
|
|||||||
Reference in New Issue
Block a user