[Libreoffice-commits] core.git: android/source
Andrea Gelmini
andrea.gelmini at gelma.net
Fri Jan 19 09:35:10 UTC 2018
android/source/src/java/org/libreoffice/storage/external/ExtsdDocumentsProvider.java | 2 +-
android/source/src/java/org/libreoffice/storage/local/LocalDocumentsDirectoryProvider.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 2a6bf230e2efaca24076773b1789765eed4e83c2
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date: Fri Jan 19 09:50:41 2018 +0100
Fix typos
Change-Id: I98279a1f4020be95c57390fd163ebe740f8cca9d
Reviewed-on: https://gerrit.libreoffice.org/48171
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/android/source/src/java/org/libreoffice/storage/external/ExtsdDocumentsProvider.java b/android/source/src/java/org/libreoffice/storage/external/ExtsdDocumentsProvider.java
index 72599ec0d17b..f21dc258474a 100644
--- a/android/source/src/java/org/libreoffice/storage/external/ExtsdDocumentsProvider.java
+++ b/android/source/src/java/org/libreoffice/storage/external/ExtsdDocumentsProvider.java
@@ -129,7 +129,7 @@ public class ExtsdDocumentsProvider implements IExternalDocumentProvider,
}
private RuntimeException buildRuntimeExceptionForInvalidFileURI(Context context) {
- // ToDo: discarding the original excpeption / catch-all handling is bad style
+ // ToDo: discarding the original exception / catch-all handling is bad style
return new RuntimeException(context.getString(R.string.ext_document_provider_error));
}
diff --git a/android/source/src/java/org/libreoffice/storage/local/LocalDocumentsDirectoryProvider.java b/android/source/src/java/org/libreoffice/storage/local/LocalDocumentsDirectoryProvider.java
index 02d58d329122..d8e6e1870044 100644
--- a/android/source/src/java/org/libreoffice/storage/local/LocalDocumentsDirectoryProvider.java
+++ b/android/source/src/java/org/libreoffice/storage/local/LocalDocumentsDirectoryProvider.java
@@ -50,7 +50,7 @@ public class LocalDocumentsDirectoryProvider extends LocalDocumentsProvider {
if (!documentsDirectory.exists()) {
// might be a little counter-intuitive: if we were granted READ permission already, we're also granted the write-permission
// when we ask for it, since they are both in the same storage group (for 5.1 and lower it is granted at install-time already)
- // seehttps://developer.android.com/guide/topics/permissions/requesting.html#perm-groups
+ // see https://developer.android.com/guide/topics/permissions/requesting.html#perm-groups
if (ContextCompat.checkSelfPermission(context, Manifest.permission.WRITE_EXTERNAL_STORAGE) == PackageManager.PERMISSION_GRANTED) {
if(!documentsDirectory.mkdirs()) {
// fallback to the toplevel dir - might be due to the dir not mounted/used as USB-Mass-Storage or similar
More information about the Libreoffice-commits
mailing list