libreoffice-online/kit
Jan Holesovsky 1b3732b941 android: Call the SAVE directly from the native code.
Until now, for the "local save has completed, upload it back to the
content: URI" messages we were relying on the "local save" -> JavaScript
-> Java -> "upload to content:/ URI" chain.

It turns out though, that the WebView can be dead by the time we need
the notification that the save has completed.  This was particularly
seen on ChromeOS when the document was closed using the [x] in the
window decoration.

As a solution, we need to pass the info that the "local save" has
completed directly to Java.  So far this uses the same semantics as the
postMobileMessage() and reuse its code; but maybe in the future we'll
need to split this.

Change-Id: If1b93e4f76cee3abc6aebfc3e9072810ab73bb42
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98773
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-07-16 11:52:58 +02:00
..
ChildSession.cpp android: Call the SAVE directly from the native code. 2020-07-16 11:52:58 +02:00
ChildSession.hpp tdf#128502: Chunk of work to enable "multi-tasking" in the iOS app 2020-06-26 13:09:51 +02:00
Delta.hpp wsd: single-char string literals -> char 2020-06-02 01:31:26 +02:00
DummyLibreOfficeKit.cpp Include <cstdlib> for free() 2020-04-29 23:54:36 +02:00
DummyLibreOfficeKit.hpp Use #pragma once 2020-04-18 15:00:18 +02:00
ForKit.cpp Forkit: add dump_forkit_state and re-factor state checks to simplify. 2020-07-14 17:28:32 +02:00
Kit.cpp Make objects and threads go away more reliably in the iOS app 2020-07-14 16:56:20 +02:00
Kit.hpp Move the setupKitEnvironment() function into a file of its own 2020-07-03 08:40:49 +02:00
KitHelper.hpp Also send parthash info when using draw (in case of PDF) 2020-06-28 00:37:24 +02:00
SetupKitEnvironment.hpp Calc: enable sheet-geometry data and printTwips messages 2020-07-08 16:42:12 +02:00
TestStubs.cpp
Watermark.hpp Use #pragma once 2020-04-18 15:00:18 +02:00