[Libreoffice-commits] online.git: Branch 'distro/collabora/co-4-2-5' - android/lib
Jan Holesovsky (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jul 14 15:15:45 UTC 2020
android/lib/src/main/java/org/libreoffice/androidlib/LOActivity.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit fffcc45b46a99c3df9b0e2c386ad697a38257ce2
Author: Jan Holesovsky <kendy at collabora.com>
AuthorDate: Tue Jul 14 17:07:01 2020 +0200
Commit: Jan Holesovsky <kendy at collabora.com>
CommitDate: Tue Jul 14 17:15:26 2020 +0200
android: A small follow-up, the intention was an early return.
Change-Id: I3a73cd03c9ec51b7f190092702b4ef860c1f589b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98748
Tested-by: Jan Holesovsky <kendy at collabora.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 5fb44fa97..3374ff4ca 100644
--- a/android/lib/src/main/java/org/libreoffice/androidlib/LOActivity.java
+++ b/android/lib/src/main/java/org/libreoffice/androidlib/LOActivity.java
@@ -784,8 +784,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