[Libreoffice-commits] online.git: android/lib
Jan Holesovsky (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jul 15 21:38:54 UTC 2020
android/lib/src/main/java/org/libreoffice/androidlib/LOActivity.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit df6b5492725b1a6ac15cea287d5be2556415304c
Author: Jan Holesovsky <kendy at collabora.com>
AuthorDate: Tue Jul 14 17:07:01 2020 +0200
Commit: Jan Holesovsky <kendy at collabora.com>
CommitDate: Wed Jul 15 23:38:35 2020 +0200
android: A small follow-up, the intention was an early return.
Change-Id: I3a73cd03c9ec51b7f190092702b4ef860c1f589b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98772
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-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 430d3265e..3ea256a0a 100644
--- a/android/lib/src/main/java/org/libreoffice/androidlib/LOActivity.java
+++ b/android/lib/src/main/java/org/libreoffice/androidlib/LOActivity.java
@@ -766,8 +766,10 @@ public class LOActivity extends AppCompatActivity {
if (mWebView != null)
mWebView.post(new Runnable() {
public void run() {
- if (mWebView != null)
+ if (mWebView == null) {
Log.i(TAG, "Skipped forwarding to the WebView: " + message);
+ return;
+ }
Log.i(TAG, "Forwarding to the WebView: " + message);
More information about the Libreoffice-commits
mailing list