V3.6.2a - possible fix of Android 10 log file permissions problem?
This commit is contained in:
@@ -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