diff options
author | Siqi Liu <me@siqi.fr> | 2015-04-23 13:44:29 +0200 |
---|---|---|
committer | Siqi Liu <me@siqi.fr> | 2015-04-23 15:31:15 +0200 |
commit | b160d3893cd1cff4fc915c9c3f32d2ba02fbadb3 (patch) | |
tree | 238332f66d8234e4999ff7813b2040b13217e944 /android | |
parent | 72f023fc9759df28ffb2df7e32a4d877145ebe4d (diff) |
Do NOT browse files from "Documents" folder. Browse from root instead.
This is more likely what users expect. Previously we assumed that all
the documents are stored in root_folder/Documents and there is no way
to navigate up to other folders.
Change-Id: Idf0ce2476d3abe638b2e8b0f35b6da577032742b
Diffstat (limited to 'android')
-rw-r--r-- | android/experimental/LOAndroid3/src/java/org/libreoffice/storage/local/LocalDocumentsDirectoryProvider.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/storage/local/LocalDocumentsDirectoryProvider.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/storage/local/LocalDocumentsDirectoryProvider.java index 92d93d6ae075..820a915a5978 100644 --- a/android/experimental/LOAndroid3/src/java/org/libreoffice/storage/local/LocalDocumentsDirectoryProvider.java +++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/storage/local/LocalDocumentsDirectoryProvider.java @@ -28,8 +28,7 @@ public class LocalDocumentsDirectoryProvider extends LocalDocumentsProvider { @Override public IFile getRootDirectory() { File documentsDirectory = new File( - Environment.getExternalStorageDirectory(), "Documents"); - documentsDirectory.mkdirs(); + Environment.getExternalStorageDirectory(), ""); return new LocalFile(documentsDirectory); } |