summaryrefslogtreecommitdiff
path: root/android/source/res/values/strings.xml
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2021-03-19 13:07:41 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2021-03-22 07:56:13 +0100
commit2df8b776e635efc5e59aaf6c8a5a7f4c218d74d0 (patch)
treecda2a2b2faf0c2b33df11a2d1ae2f0de5c3bc5ab /android/source/res/values/strings.xml
parent2fa33c89ffcf0bb5aa013ee71a06b12676b42997 (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 'android/source/res/values/strings.xml')
-rw-r--r--android/source/res/values/strings.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/source/res/values/strings.xml b/android/source/res/values/strings.xml
index aa32497862f6..a44d81ee5faf 100644
--- a/android/source/res/values/strings.xml
+++ b/android/source/res/values/strings.xml
@@ -95,6 +95,7 @@
<!-- Feedback messages -->
<string name="message_saved">Save complete</string>
<string name="message_saving">Saving the document…</string>
+ <string name="message_saving_failed">Saving the document failed.</string>
<string name="message_save_incomplete">Save incomplete. Were there any changes?</string>
<string name="create_new_file_success">"Created new file - "</string>
<string name="create_new_file_error">Unable to create new file, please check entered file name.</string>