[Libreoffice-commits] core.git: android/source

Michael Weghorn (via logerrit) logerrit at kemper.freedesktop.org
Wed Mar 11 19:22:45 UTC 2020


 android/source/build.gradle |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

New commits:
commit 97e9a83888a377035f99fc6dd0566482469a3dfa
Author:     Michael Weghorn <m.weghorn at posteo.de>
AuthorDate: Wed Mar 11 18:25:23 2020 +0100
Commit:     Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Wed Mar 11 20:22:12 2020 +0100

    android: Fix asset handling in build.gradle
    
    ... after commit 367431b6987b75e7a201499bfbd25a41c92a4a59
    ("tdf#126909 android: include icons into APK") had accidently
    not only added the icon zip file to the 'assets/share/config' folder,
    but also caused the assets mentioned below in build.gradle
    to be copied there instead of the proper places, leading to
    a crash when trying to access them.
    
    (The problem did not show up in an incremental build, since "the
    old copies" of the assets were still present where expected.)
    
    Change-Id: I7d9cf89c399d6415ce97ac8af4a98610555c5f17
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90344
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.weghorn at posteo.de>

diff --git a/android/source/build.gradle b/android/source/build.gradle
index 525782abc606..668ff5e006b9 100644
--- a/android/source/build.gradle
+++ b/android/source/build.gradle
@@ -161,9 +161,11 @@ task copyAssets(type: Copy) {
     }
 
     // include icons
-    into 'assets/share/config'
-    from ("${liboInstdir}/share/config") {
-        includes = ["images_**.zip", ]
+    into ('share') {
+        into ('config') {
+            from ("${liboInstdir}/share/config")
+            includes = ['images_**.zip']
+        }
     }
 
     into('program') {


More information about the Libreoffice-commits mailing list