This way, it is more naturally visible what is the actuall app (with the
initial recent documents / file picker) and the editing part.
Change-Id: Ia764f2900939e980f703e3da9f9abd6c0aee7cbb
They are huge and fontconfig has real trouble indexing / creating the
cache on the 1st start.
This reduces the startup time by nearly a minute (on my phone).
Change-Id: I85abd541251ab949c3c29c4df5fb95ce28f5634c
Use a xml layout instead of ad-hoc creation of widgets for better look
(the widgets are not styled when created using 'new') and maintainability.
Update the label of the positive button based on whether the file will
be just created or overwritten (or hide it completely when the input is
empty).
Change-Id: I8cba88402dc4167ff053612b6101a3d7cf57b8c0
Otherwise they are not found when attempting to call them. Particularly
problematic was the callFakeWebsocketOnMessage that is called from C++.
Change-Id: I9c99733d63583e7c568f0f708e7efbd92497b5fb
The current mobile-config.py filters out the sidebar-related entries
there. Let's focus on the functionality first and optimize later...
Change-Id: Ia86d11ae1aea24c5ba7d7f1e238c9194e544508a
Also remember it in the thread itself, otherwise we are likely to close
the newly created one, instead of the old one (when loading the document
the 2nd time).
[This is the most important piece of the '2nd start crashes' puzzle.]
Change-Id: I3bb89882b6f3ac1493c47a27b4c4589b6996afab
We have the same problems - lokit_main thread does not go away - so
let's get the code in sync.
For the actual MobileTerminationFlag background, see the "Introduce new
flag to speed up shutdown of the Online plumbing in the iOS app" commit.
Change-Id: I091a61472f2528971a7473e222bf79f6f33874a9
With 'trace', the logcat often ends up with 'Unexpected EOF' and nothing
else is logged until after you reconnect the device again.
Change-Id: Idd14a5100d49a4920be0a19b4d9b32e7fb158a12
If the user denies the permission with "Don't ask again" ticked
in the permission dialog then the only way to allow the permission
is through android os settings.
Change-Id: I8f51ae7390a9565011d6172bcbd08b3666bd60e4
Reviewed-on: https://gerrit.libreoffice.org/73071
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
For some operations like printing to PDF, we need to have access to the
LOK API to perform eg. saveAs(). iOS is using an extern for that, but
given that it is needed for Android too, let's introduce a proper getter
for that.
Change-Id: Ie2340a4ee0bdf9dc46e799e2567a828172d9a67d
It is not a good idea to change the configuration directory, it will affect all the existing installations.
And the service is called loolwsd - so the configuration should be called that way too.
This reverts commit 9278574289.
Change-Id: I7e6eee644e21ad2dd842742585d16133ff8e36c9
Reviewed-on: https://gerrit.libreoffice.org/72730
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
After 1dbbc5acc7
Change-Id: I64a12fb13bc8f9371821b2d5969941bfddc2514a
Reviewed-on: https://gerrit.libreoffice.org/72728
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
PreferenceFragment is deprecated.
Also add debug info option in settings.
Change-Id: I0e55079bc82c85d6ad7ffeb86f821bf7ad07a792
Reviewed-on: https://gerrit.libreoffice.org/71151
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
If the user does these steps: install -> open a document(from app's file manager) -> close the app -> remove storage permission
-> open the document from the launcher shortcuts, he/she gets an error(from loolwsd).Expected behaviour should be to ask for
storage permission. Same behaviour can be observed if the user tries to open the document via file uri provided by 3rd party
file managers on api < 24.
Change-Id: Idfc3d55a81ccd269a2251aef57935eff2569ea94
Reviewed-on: https://gerrit.libreoffice.org/70759
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Also no need to avoid stripping any more, the symbols are not necessary
inside the .apk.
Change-Id: I4d9f4c3db26c3d61af3cc5167589fcc82834d7f9
Reviewed-on: https://gerrit.libreoffice.org/70516
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>