[Libreoffice-commits] core.git: android/source

Mert Tumer merttumer at outlook.com
Sun May 1 10:10:39 UTC 2016


 android/source/src/java/org/libreoffice/storage/external/ExtsdDocumentsProvider.java |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit c6e8c96d50fc2082a3c4b9553196a42bbdd6df37
Author: Mert Tumer <merttumer at outlook.com>
Date:   Sat Apr 30 19:51:19 2016 +0300

    tdf#99539 - fıx crash on android 5.1
    
    Change-Id: I3d484f7d7d9e466ae1b2ac4afe2b59d060fa8b77
    Reviewed-on: https://gerrit.libreoffice.org/24537
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
    Tested-by: Michael Meeks <michael.meeks at collabora.com>

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 09e993b..49b441e 100644
--- a/android/source/src/java/org/libreoffice/storage/external/ExtsdDocumentsProvider.java
+++ b/android/source/src/java/org/libreoffice/storage/external/ExtsdDocumentsProvider.java
@@ -60,8 +60,10 @@ public class ExtsdDocumentsProvider implements IExternalDocumentProvider,
 
         for (File option: options) {
             String optionPath = option.getAbsolutePath();
-            if(!optionPath.contains(internalSDPath))
+
+            if(optionPath.contains(internalSDPath))
                 return option.toURI().toString();
+
         }
 
         return "";


More information about the Libreoffice-commits mailing list