[Libreoffice-commits] online.git: android/lib
Jan Holesovsky (via logerrit)
logerrit at kemper.freedesktop.org
Tue Dec 10 22:05:29 UTC 2019
android/lib/src/main/java/org/libreoffice/androidlib/LOActivity.java | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
New commits:
commit 0b90f8cece43e0e209c96750817211b5986fd45d
Author: Jan Holesovsky <kendy at collabora.com>
AuthorDate: Tue Dec 10 22:55:36 2019 +0100
Commit: Jan Holesovsky <kendy at collabora.com>
CommitDate: Tue Dec 10 23:05:12 2019 +0100
android: Fix crash when starting a slideshow.
Change-Id: Iff5e4feaf4d1c496713a6401f6f03a17ae326ec5
Reviewed-on: https://gerrit.libreoffice.org/84905
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/android/lib/src/main/java/org/libreoffice/androidlib/LOActivity.java b/android/lib/src/main/java/org/libreoffice/androidlib/LOActivity.java
index 66dc87497..a9cca125c 100644
--- a/android/lib/src/main/java/org/libreoffice/androidlib/LOActivity.java
+++ b/android/lib/src/main/java/org/libreoffice/androidlib/LOActivity.java
@@ -632,15 +632,11 @@ public class LOActivity extends AppCompatActivity {
.setView(R.layout.lolib_dialog_loading)
.create();
+ slideShowProgress.show();
+
nativeHandler.post(new Runnable() {
@Override
public void run() {
- LOActivity.this.runOnUiThread(new Runnable() {
- @Override
- public void run() {
- slideShowProgress.show();
- }
- });
Log.v(TAG, "saving svg for slideshow by " + Thread.currentThread().getName());
final String slideShowFileUri = new File(LOActivity.this.getCacheDir(), "slideShow.svg").toURI().toString();
LOActivity.this.saveAs(slideShowFileUri, "svg");
More information about the Libreoffice-commits
mailing list