diff options
author | Eugene Sandulenko | 2019-10-16 00:16:02 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-10-16 00:16:25 +0200 |
commit | b585b925e5f55129c8adace30a3aeaa97ff7f165 (patch) | |
tree | 81dacc304c5dc85f1a409a6a42a54d84f60da150 /backends/platform/android | |
parent | 6d82e7ee26dad9ef0c89e1afdce29e6b955abd2e (diff) | |
download | scummvm-rg350-b585b925e5f55129c8adace30a3aeaa97ff7f165.tar.gz scummvm-rg350-b585b925e5f55129c8adace30a3aeaa97ff7f165.tar.bz2 scummvm-rg350-b585b925e5f55129c8adace30a3aeaa97ff7f165.zip |
ANDROID: Use more portable directory query method
Diffstat (limited to 'backends/platform/android')
-rw-r--r-- | backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java b/backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java index abced48562..dca52a92f3 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); |