diff --git a/CHANGELOG.md b/CHANGELOG.md index f0ebdfe..ca432e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ OpenSeizureDetector Android App - Change Log ============================================ - + V4.0.6 - fixed issue with O2sat data not being recorded to database V4.0.5 - Added support for 3D data logging - Fixed issue with seizure reporting crashing if quotation marks included in text. V4.0.4 - Added support for Data Sharing system diff --git a/app/release/app-release-4.0.5.apk b/app/release/app-release-4.0.6.apk similarity index 88% rename from app/release/app-release-4.0.5.apk rename to app/release/app-release-4.0.6.apk index 4b70c48..dc4e325 100644 Binary files a/app/release/app-release-4.0.5.apk and b/app/release/app-release-4.0.6.apk differ diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 5df9440..d25abd9 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -2,8 +2,8 @@ + android:versionCode="102" + android:versionName="4.0.6"> diff --git a/app/src/main/java/uk/org/openseizuredetector/SdDataSource.java b/app/src/main/java/uk/org/openseizuredetector/SdDataSource.java index c274af5..2b9a1ae 100644 --- a/app/src/main/java/uk/org/openseizuredetector/SdDataSource.java +++ b/app/src/main/java/uk/org/openseizuredetector/SdDataSource.java @@ -272,7 +272,7 @@ public abstract class SdDataSource { mSdData.mHR = -1; } try { - mSdData.mO2Sat = dataObject.getDouble("O2Sat"); + mSdData.mO2Sat = dataObject.getDouble("O2sat"); } catch (JSONException e) { // if we get 'null' O2 Saturation (For example if the oxygen sensor is not working) mSdData.mO2Sat = -1; diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 2fd6d0d..f128438 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -3,6 +3,7 @@ OpenSeizureDetector "\n + \nV4.0.5 - fixed issue with O2 saturation data not being recorded to data sharing database. \nV4.0.4 - Introduced the <b>Data Sharing</b> feature to allow users to share their seizure and false alarm data with researchers to help improve the system.<br/>