summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2022-12-27 10:33:59 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2022-12-28 08:27:31 +0000
commitd23671de498d5531f1f84fa7f0ee21773551ef8a (patch)
tree10e6ede04557e795e4e384ea2e7adde185394d51 /android
parent3826a7df9aa447bec08a3b056180778ad8c953af (diff)
android: Include Impress's layout.xml into app
It's needed since commit daab698b346e5e40b67f1e15c796c4e399ccaf8a Date: Tue Nov 22 14:07:12 2022 +0200 sd: replace hardcoded table styles with xml file Without it being included into the app/APK, opening any presentation in Android Viewer file would fail, with this in ADB log: 12-27 10:22:45.329 9811 9862 E libo:sal/osl/unx/file: failed to open /assets/share/config/soffice.cfg/simpress/styles.xml 12-27 10:22:45.332 9811 9862 W svl.items: 1:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty. 12-27 10:22:45.337 9811 9862 I LOKitTileProvider: ====> mOffice.documentLoad() returned null, trying to restart 'Office' and loading again Change-Id: I677476bda146be2cd3ebe18da91bcb8f2a796fd3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144835 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'android')
-rw-r--r--android/source/build.gradle5
1 files changed, 3 insertions, 2 deletions
diff --git a/android/source/build.gradle b/android/source/build.gradle
index a407c2f81cf2..52ca33f0994e 100644
--- a/android/source/build.gradle
+++ b/android/source/build.gradle
@@ -139,11 +139,12 @@ task copyAssets(type: Copy) {
description "copies assets that can be accessed within the installed apk"
into 'assets'
- // include icons
+ // include icons and Impress styles
into ('share') {
into ('config') {
from ("${liboInstdir}/share/config")
- includes = ['images_**.zip']
+ includes = ['images_**.zip',
+ '**/simpress/styles.xml']
}
}