V3.6.2a - possible fix of Android 10 log file permissions problem?
This commit is contained in:
BIN
app/release/app-release-3.6.2a.apk
Normal file
BIN
app/release/app-release-3.6.2a.apk
Normal file
Binary file not shown.
Binary file not shown.
@@ -1,19 +1,17 @@
|
||||
{
|
||||
"version": 1,
|
||||
"version": 2,
|
||||
"artifactType": {
|
||||
"type": "APK",
|
||||
"kind": "Directory"
|
||||
},
|
||||
"applicationId": "uk.org.openseizuredetector",
|
||||
"variantName": "release",
|
||||
"variantName": "processReleaseResources",
|
||||
"elements": [
|
||||
{
|
||||
"type": "SINGLE",
|
||||
"filters": [],
|
||||
"properties": [],
|
||||
"versionCode": 83,
|
||||
"versionName": "3.6.1",
|
||||
"enabled": true,
|
||||
"versionName": "3.6.2a",
|
||||
"outputFile": "app-release.apk"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="uk.org.openseizuredetector"
|
||||
android:versionCode="83"
|
||||
android:versionName="3.6.2">
|
||||
android:versionName="3.6.2a">
|
||||
<!-- android:allowBackup="false" -->
|
||||
<uses-permission android:name="android.permission.BLUETOOTH" />
|
||||
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
|
||||
|
||||
@@ -430,15 +430,7 @@ public class OsdUtil implements ActivityCompat.OnRequestPermissionsResultCallbac
|
||||
|
||||
public File getDataStorageDir() {
|
||||
// Get the directory for the user's public directory.
|
||||
File file =
|
||||
new File(Environment.getExternalStorageDirectory()
|
||||
, "OpenSeizureDetector");
|
||||
if (!file.isDirectory()) {
|
||||
Log.i(TAG, "getDataStorageDir() - creating directory");
|
||||
if(!file.mkdirs()) {
|
||||
Log.e(TAG, "Failed to create directory");
|
||||
}
|
||||
}
|
||||
File file = mContext.getExternalFilesDir(null);
|
||||
return file;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
<resources>
|
||||
<string name="app_name">OpenSeizureDetector</string>
|
||||
<string name="changelog">
|
||||
\n V3.6.2 - Fix of issue with log file permissions on some Android 10 devices.
|
||||
\n V3.6.1 - Possible fix for issue with shutting down system and expanded Polish translation to all settings screens.
|
||||
\n V3.6 - Added phone sensor data source for testing without a watchs
|
||||
\n V3.5 - Added support for SMS Annunciator App
|
||||
|
||||
Reference in New Issue
Block a user