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

Mert Tümer merttumer7 at gmail.com
Fri Apr 13 16:08:29 UTC 2018


 android/source/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 923b2acc1f6bad5ef344a4c6d7e2bac23c37d416
Author: Mert Tümer <merttumer7 at gmail.com>
Date:   Thu Apr 5 15:18:46 2018 +0300

    tdf#116820 The viewer does't show recent files
    
    Change-Id: I8a4d4f2cb78a1fa772936e263e1aa3975e8f89ff
    Signed-off-by: Mert Tümer <merttumer7 at gmail.com>
    Reviewed-on: https://gerrit.libreoffice.org/52458
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/android/source/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java b/android/source/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java
index f8d08aae171f..938112c99149 100644
--- a/android/source/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java
+++ b/android/source/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java
@@ -444,6 +444,8 @@ public class LibreOfficeUIActivity extends AppCompatActivity implements Settings
                         public void run() {
                             Toast.makeText(activity, e.getMessage(),
                                     Toast.LENGTH_SHORT).show();
+                            // switch back to the default provider.
+                            switchToDocumentProvider(documentProviderFactory.getDefaultProvider());
                         }
                     });
                     startActivity(new Intent(activity, DocumentProviderSettingsActivity.class));


More information about the Libreoffice-commits mailing list