summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2021-03-19 17:20:45 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2021-03-22 08:46:54 +0100
commitd126f2bfaa021924108461320eafaf0fd366fec9 (patch)
tree70ca7cf6afa5781d32636555ed0cf45dd6e0860a
parent44f4e1ce493f7d241ea2952dd5e9e604a3aef788 (diff)
tdf#141111 android: Don't crash trying to edit read-only section
Trying to type in a read-only Writer section in Android Viewer led to a crash due to '/assets//config/soffice.cfg/modules/swriter/ui/inforeadonlydialog.ui' not being present. Include the .ui file to avoid this. (Trying to type now doesn't do anything, no warning about this being read-only is shown.) Change-Id: I616d41c312187fa7855430715a47e80477ef2188 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112771 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> (cherry picked from commit 1bf8f4569502b7900c51f2e238acda6567c96281) Conflicts: android/source/build.gradle Change-Id: Ied7833105a2efb0b0b1f340c806904cfa1bd877c
-rw-r--r--android/source/build.gradle1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/source/build.gradle b/android/source/build.gradle
index 91a92507b621..35a83be655c0 100644
--- a/android/source/build.gradle
+++ b/android/source/build.gradle
@@ -190,6 +190,7 @@ task copyAssets(type: Copy) {
into('config') {
from "${liboInstdir}/share/config"
include '**/pagebreakmenu.ui', '**/annotationmenu.ui', '**/headerfootermenu.ui',
+ '**/inforeadonlydialog.ui',
'**/tabviewbar.ui'
}
}