android/lib/src/main/java/org/libreoffice/androidlib/LOActivity.java | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 851bdeb949d28dd5ee5d451b85b121eecb160a6f Author: mert <mert.tu...@collabora.com> AuthorDate: Tue Aug 25 22:44:12 2020 +0300 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Wed Aug 26 09:19:04 2020 +0200 Fix insert image dialog only opens once Change-Id: I5a184feadcf25e22829f80ad4da20d25e04d3f27 Signed-off-by: mert <mert.tu...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101348 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.ti...@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 24319e215..77f9e0e68 100644 --- a/android/lib/src/main/java/org/libreoffice/androidlib/LOActivity.java +++ b/android/lib/src/main/java/org/libreoffice/androidlib/LOActivity.java @@ -577,6 +577,10 @@ public class LOActivity extends AppCompatActivity { @Override public void onActivityResult(int requestCode, int resultCode, Intent intent) { if (resultCode != RESULT_OK) { + if (requestCode == REQUEST_SELECT_IMAGE_FILE) { + valueCallback.onReceiveValue(null); + valueCallback = null; + } return; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits