diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2021-03-19 13:07:41 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2021-03-22 07:56:13 +0100 |
commit | 2df8b776e635efc5e59aaf6c8a5a7f4c218d74d0 (patch) | |
tree | cda2a2b2faf0c2b33df11a2d1ae2f0de5c3bc5ab /xmlsecurity | |
parent | 2fa33c89ffcf0bb5aa013ee71a06b12676b42997 (diff) |
tdf#129833 android: Allow editing writable docs passed by Intent
When a document is passed by an Intent in Android
Viewer, allow editing if the Intent has flag
'Intent.FLAG_GRANT_WRITE_URI_PERMISSION' set.
Since LibreOffice operates on a temporary copy
in this case, write the content of the
temporary file back to the original URI
when saving.
This in particular allows editing documents
passed from third-party apps, e.g. opened from
Android's "Files" app or the NextCloud app.
The online-based Android app already does
something similar.
Change-Id: Icf252a95dd9a8089ca8610ccf3edfbeee2682e1a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112767
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'xmlsecurity')
0 files changed, 0 insertions, 0 deletions