[Scummvm-git-logs] scummvm master -> b585b925e5f55129c8adace30a3aeaa97ff7f165

sev- sev at scummvm.org
Wed Oct 16 00:16:53 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
b585b925e5 ANDROID: Use more portable directory query method


Commit: b585b925e5f55129c8adace30a3aeaa97ff7f165
    https://github.com/scummvm/scummvm/commit/b585b925e5f55129c8adace30a3aeaa97ff7f165
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2019-10-16T00:16:25+02:00

Commit Message:
ANDROID: Use more portable directory query method

Changed paths:
    backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java


diff --git a/backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java b/backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java
index abced48..dca52a9 100644
--- a/backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java
+++ b/backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java
@@ -231,7 +231,7 @@ public class ScummVMActivity extends Activity {
 		saveDir.mkdirs();
 		if (!saveDir.isDirectory()) {
 			// If it doesn't work, resort to the internal app path.
-			savePath = getDir("saves", MODE_WORLD_READABLE).getPath();
+			savePath = getDir("saves", Context.MODE_PRIVATE).getPath();
 		}
 
 		_clipboard = (ClipboardManager)getSystemService(CLIPBOARD_SERVICE);





More information about the Scummvm-git-logs mailing list