diff options
author | Mert Tumer <merttumer@outlook.com> | 2018-07-06 08:30:39 -0700 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2018-07-12 15:42:29 +0200 |
commit | 3eeb603c091c9242d8f45417f6273604c5419090 (patch) | |
tree | 943bb0e65eaaf3e3a952f2caffde364c7e37c930 /android | |
parent | 61b981e2682872e9ff45dc3c13d51875b1cd5ae3 (diff) |
Fix remote server can not be selected on Android Viewer
Change-Id: Ic08253c3732f963eec6f97e6bd0530f95eb2916a
Reviewed-on: https://gerrit.libreoffice.org/57072
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'android')
-rw-r--r-- | android/source/src/java/org/libreoffice/storage/owncloud/OwnCloudProvider.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/source/src/java/org/libreoffice/storage/owncloud/OwnCloudProvider.java b/android/source/src/java/org/libreoffice/storage/owncloud/OwnCloudProvider.java index 3a4e63b5a798..7ae22a2d7c5f 100644 --- a/android/source/src/java/org/libreoffice/storage/owncloud/OwnCloudProvider.java +++ b/android/source/src/java/org/libreoffice/storage/owncloud/OwnCloudProvider.java @@ -181,6 +181,6 @@ public class OwnCloudProvider implements IDocumentProvider, @Override public boolean checkProviderAvailability(Context context) { - return result != null && this.result.isSuccess(); + return client != null; } } |