Commit Graph
2077 Commits
Author SHA1 Message Date
Michael Weghorn ddf4ac2d77 android: Update Android Gradle Plugin to 8.10.1
... and gradle to 8.11.1, as suggested by Android Studio.

Change-Id: Id6560eccfe321339dec43c8fdbca11739c2daec8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186226
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-06-06 19:01:19 +02:00
WeblateandDonald Rogers 6c4aaabcee android-viewer translated using Weblate
Esperanto currently translated at 100.0% (116 of 116 strings)

Change-Id: Ibde349ad7b98164d0b300d56e3b01c140f18ab41
Co-authored-by: Donald Rogers <donr2648@fastmail.fm>
Co-authored-by: Weblate <noreply@documentfoundation.org>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/eo/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186120
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-06-02 10:15:17 +02:00
b386552bc0 android-viewer translated using Weblate
Romanian currently translated at 8.6% (10 of 116 strings)

Change-Id: I0506e39f2d65124bb38685092d9aedc90fcffeb7

android-viewer translated using Weblate

Romanian currently translated at 8.6% (10 of 116 strings)

Change-Id: I614e68820c9c776596c1af013c11c1368e975551

android-viewer translated using Weblate

Esperanto currently translated at 37.0% (43 of 116 strings)

Change-Id: I8aa3145f6bf67d110e5f29fd4629dbb6ff129484

android-viewer translated using Weblate

Esperanto currently translated at 37.0% (43 of 116 strings)

Change-Id: Ia3d897269e6dc12079fafb94871dc99f9c30cddf
Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Co-authored-by: Donald Rogers <donr2648@fastmail.fm>
Co-authored-by: Mihai Vasiliu <mihai.vasiliu.93@gmail.com>
Co-authored-by: Miloiu Andrei-Valentin <miloiuandrei@gmail.com>
Co-authored-by: Weblate <noreply@documentfoundation.org>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/eo/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ro/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185492
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-05-24 12:30:37 +02:00
WeblateandMiloiu Andrei-Valentin cc5c3b89b8 android-viewer translated using Weblate
Romanian currently translated at 6.0% (7 of 116 strings)

Change-Id: I2795e9f406189f2a10666207fb30d8d1e6ee38db
Co-authored-by: Miloiu Andrei-Valentin <miloiuandrei@gmail.com>
Co-authored-by: Weblate <noreply@documentfoundation.org>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ro/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184804
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Michael Weghorn <m.weghorn@posteo.de>
2025-04-30 07:27:18 +02:00
WeblateandValery Levanchuk fe1b1f8fb9 android-viewer translated using Weblate
Belarusian currently translated at 100.0% (116 of 116 strings)

Change-Id: I240e6494c5688cc507cb1d1d3e1fa06390882e7c

Added translation for android-viewer using Weblate (Belarusian)

Change-Id: Ib3482201d32de50e85f2a4c62595ee5e6f86df7b
Co-authored-by: Valery Levanchuk <levanchuk@gmail.com>
Co-authored-by: Weblate <noreply@documentfoundation.org>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/be/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184130
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-04-16 14:42:49 +02:00
+26 c38a7db4c8 android-viewer translated using Weblate
Asturian currently translated at 100.0% (116 of 116 strings)

Change-Id: I8eb81db4571666e86dfac665fd082baaaa23704b

android-viewer translated using Weblate

Portuguese (Brazil) currently translated at 100.0% (116 of 116 strings)

Change-Id: I370de79d9016ec8f0be7d292d1e9abc4313fb2f9

android-viewer translated using Weblate

Portuguese (Brazil) currently translated at 100.0% (116 of 116 strings)

Change-Id: I05b62988c74079f6fbdcd5f9814484b9085ef19a

android-viewer translated using Weblate

Romanian currently translated at 2.5% (3 of 116 strings)

Change-Id: Ie4e439529b016aa3de7e30af632aa51e55231e51

Update translation files for android-viewer

Updated by "Remove blank strings" hook in Weblate.

Change-Id: I768a3ce6dcd914d5dcf9f3e6691badcb05413c53

android-viewer translated using Weblate

Romanian currently translated at 1.7% (2 of 116 strings)

Change-Id: Ic4b65e62594f6228710cf9b483d1feddf13f8bff

android-viewer translated using Weblate

Afrikaans currently translated at 100.0% (116 of 116 strings)

Change-Id: Ia8ac96ef22f1ba75238734b17833d515ba94132b

android-viewer translated using Weblate

Tagalog currently translated at 100.0% (116 of 116 strings)

Change-Id: I3a3b0c3765542509e1a8e4829d42ede0211df01f

android-viewer translated using Weblate

Georgian currently translated at 100.0% (116 of 116 strings)

Change-Id: Ib9d9af42b5d1826255e522125a8f7f2af0d6127b

android-viewer translated using Weblate

Hebrew currently translated at 100.0% (116 of 116 strings)

Change-Id: I55fba0974ace39f116824dc599d7805b387d8977

android-viewer translated using Weblate

Esperanto currently translated at 0.0% (0 of 116 strings)

Change-Id: I3d403b1e830248e30573956c0c44e1538f2b5ee1

android-viewer translated using Weblate

Interlingua currently translated at 75.8% (88 of 116 strings)

Change-Id: I4fd57416ecf460e45651fc73efef736d1431d318

android-viewer translated using Weblate

Interlingua currently translated at 75.8% (88 of 116 strings)

Change-Id: If057d610b14188ae0db7f3d20a5a914c56b81b0f

android-viewer translated using Weblate

Slovak currently translated at 100.0% (116 of 116 strings)

Change-Id: Ia913e5f4627a89904c77643382bfdf006c8e70b7

android-viewer translated using Weblate

Abkhazian currently translated at 0.0% (0 of 116 strings)

Change-Id: I239da92abf3a1ddbf5f788fd869b6682d20809c7

android-viewer translated using Weblate

Portuguese currently translated at 100.0% (116 of 116 strings)

Change-Id: I7d9b6b6a8e83a20571d7b2e35edd0f484065192a

android-viewer translated using Weblate

Hungarian currently translated at 100.0% (116 of 116 strings)

Change-Id: I216c938054bf5b5a62bc463599402b2e4f7d4508

android-viewer translated using Weblate

Indonesian currently translated at 100.0% (116 of 116 strings)

Change-Id: I540e30365ad7c6d46560ca75f2124b063b5f506a

android-viewer translated using Weblate

Nepali currently translated at 17.2% (20 of 116 strings)

Change-Id: I7f628a7f40979983d2ad3594fa2166dc8e90f158

android-viewer translated using Weblate

Greek currently translated at 100.0% (116 of 116 strings)

Change-Id: Ie670518955161245eef8f6f745b78e04e277d23b

android-viewer translated using Weblate

Ukrainian currently translated at 100.0% (116 of 116 strings)

Change-Id: I7a82e827afbfa19189c7b18c59447bba64e7cc87

android-viewer translated using Weblate

Lower Sorbian currently translated at 100.0% (116 of 116 strings)

Change-Id: I616b44866cfbe0715face315d2191fb9db38caa1

android-viewer translated using Weblate

Upper Sorbian currently translated at 100.0% (116 of 116 strings)

Change-Id: I1dc905bb16c4446a1716adfbfca982f4d3276e92

android-viewer translated using Weblate

Dutch currently translated at 100.0% (116 of 116 strings)

Change-Id: I2e47958f5cb7e1bc9e66335a0a7b5b877ff06f17

android-viewer translated using Weblate

Dutch currently translated at 100.0% (116 of 116 strings)

Change-Id: Ib1bb2f5fbe18bc840ea8cb615129d609f81e1bed

android-viewer translated using Weblate

Icelandic currently translated at 100.0% (116 of 116 strings)

Change-Id: I49f0c7513a29237aa764a76568104f29fd192f55

android-viewer translated using Weblate

Italian currently translated at 100.0% (116 of 116 strings)

Change-Id: I115c77a50a911cb7ecb9cba942b14cc7701543b7

android-viewer translated using Weblate

Asturian currently translated at 100.0% (116 of 116 strings)

Change-Id: Id6e6b4ab3b318e182b45f996421c954725d6860b

android-viewer translated using Weblate

Asturian currently translated at 100.0% (116 of 116 strings)

Change-Id: I994e707dfb5146546332a3b7027aedf07cc186b5

android-viewer translated using Weblate

Czech currently translated at 100.0% (116 of 116 strings)

Change-Id: I24f909c87b5c60ce65036064f39119ba8ef16e1a

android-viewer translated using Weblate

Slovenian currently translated at 100.0% (116 of 116 strings)

Change-Id: I9d5b6dd53f912b498d291e386bb7ea82d3ff8c74

android-viewer translated using Weblate

Japanese currently translated at 83.6% (97 of 116 strings)

Change-Id: Id84aca3465b0cfd47d3b973e57317447be10228d

android-viewer translated using Weblate

Japanese currently translated at 83.6% (97 of 116 strings)

Change-Id: Ied50226ceadc2e5f0ea25d68e902e39715582390

android-viewer translated using Weblate

Chinese (Traditional Han script) currently translated at 100.0% (116 of 116 strings)

Change-Id: Iedcab7dd5ec2860d4652e7b8bbea69d7b9e77dc1

android-viewer translated using Weblate

Finnish currently translated at 0.0% (0 of 116 strings)

Change-Id: I7bff03aa120b862a96d30d15e3ca88c5ac6b5508

android-viewer translated using Weblate

Basque currently translated at 100.0% (116 of 116 strings)

Change-Id: I2f90a91002ceb47798951f692598912c7b3e2870

android-viewer translated using Weblate

Polish currently translated at 100.0% (116 of 116 strings)

Change-Id: Ib6948225c9bd2b49b54780e28b7006b4b7e08cef

android-viewer translated using Weblate

Persian currently translated at 100.0% (116 of 116 strings)

Change-Id: I4cf681d3fc334245d8eb5831eb55438a40d805d8

android-viewer translated using Weblate

Portuguese (Brazil) currently translated at 100.0% (116 of 116 strings)

Change-Id: Ic7b2cab3e08137e3ed31d214b0dd8cecf8e02af1

android-viewer translated using Weblate

French currently translated at 100.0% (116 of 116 strings)

Change-Id: Ida71234c709a03e85a7ee06c19d496642194fd3c

android-viewer translated using Weblate

Punjabi currently translated at 95.6% (111 of 116 strings)

Change-Id: I941848df77f885572c8aa03774c4aba655256d2a

android-viewer translated using Weblate

Punjabi currently translated at 95.6% (111 of 116 strings)

Change-Id: I4778b279c99c6958ef94bd6f62f619f2de560945

android-viewer translated using Weblate

Kazakh currently translated at 0.0% (0 of 116 strings)

Change-Id: Icd73da37f57b52b229098a6292479b3c7138e19f

android-viewer translated using Weblate

Welsh currently translated at 100.0% (116 of 116 strings)

Change-Id: I5486455397fa466868c03db5c9284ff9e8c2bbd2

android-viewer translated using Weblate

Catalan currently translated at 100.0% (116 of 116 strings)

Change-Id: I6e113abdc3eef5137987d15c94f0fd167fb15ec9

android-viewer translated using Weblate

Catalan currently translated at 100.0% (116 of 116 strings)

Change-Id: I104c22a23bb49788a1f801aa55d6e592222d57e5

android-viewer translated using Weblate

Spanish currently translated at 100.0% (116 of 116 strings)

Change-Id: I4fd24e5f966c747043c3a83e185b2d62f467813b

android-viewer translated using Weblate

Galician currently translated at 100.0% (116 of 116 strings)

Change-Id: Ie572b7d48cb3221fbbc95bf939a0f013a81f6886

android-viewer translated using Weblate

Armenian currently translated at 100.0% (116 of 116 strings)

Change-Id: I44e44f2fd60e58af8e1ff7215710c4b4b47e62b2

android-viewer translated using Weblate

Turkish currently translated at 100.0% (116 of 116 strings)

Change-Id: Ic87d85a9269e8293d92c1c5272910a0536ac978b

android-viewer translated using Weblate

German currently translated at 100.0% (116 of 116 strings)

Change-Id: Ie7bf6ddd67fc69793cf9ed1ce2b00a84114e6c8b

android-viewer translated using Weblate

German currently translated at 100.0% (116 of 116 strings)

Change-Id: I1ea4c5c81e172c42938c51ffb875390052ea210d
Co-authored-by: A S Alam <amanpreet.alam@gmail.com>
Co-authored-by: Adam Rak <kitynska@gmail.com>
Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Co-authored-by: Aitor Salaberria <amento@ni.eus>
Co-authored-by: Andika Triwidada <andika@gmail.com>
Co-authored-by: Andy Flagg <libreoffice.tagalog@gmail.com>
Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Cheng-Chia Tseng <pswo10680@gmail.com>
Co-authored-by: Christian Kühl <kuehl.christian@googlemail.com>
Co-authored-by: Dimitris Spingos <dmtrs32@gmail.com>
Co-authored-by: Ekaterine Papava <papava.e@gtu.ge>
Co-authored-by: Elisabetta Manuele <lyzbetta@gmail.com>
Co-authored-by: Gábor Kelemen <gabor.kelemen.extern@allotropia.de>
Co-authored-by: Hossein <hossein@libreoffice.org>
Co-authored-by: Joan Montané <joan@montane.cat>
Co-authored-by: Martin Srebotnjak <miles@filmsi.net>
Co-authored-by: Michael Wolf <milupo@sorbzilla.de>
Co-authored-by: Miloiu Andrei <miloiuandrei@gmail.com>
Co-authored-by: Miloš Šrámek <msramek22@gmail.com>
Co-authored-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Co-authored-by: Paul Roos <iNetRoos@gmail.com>
Co-authored-by: Rhoslyn Prys <post@meddal.com>
Co-authored-by: Stanislav Horáček <stanislav.horacek@gmail.com>
Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Co-authored-by: Sérgio Marques <smarquespt@gmail.com>
Co-authored-by: Taichi Haradaguchi <aaaa@users.noreply.translations.documentfoundation.org>
Co-authored-by: Tigran Zargaryan <tigranflib@gmail.com>
Co-authored-by: Weblate <noreply@documentfoundation.org>
Co-authored-by: Xandru Martino Ruz <xandrumartino@softastur.org>
Co-authored-by: Xosé <xosecalvo@gmail.com>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: emism <softinterlingua@gmail.com>
Co-authored-by: kees538 <kees538@gmail.com>
Co-authored-by: sophie <gautier.sophie@gmail.com>
Co-authored-by: vpanter <Leo.Moons@proximus.be>
Co-authored-by: Євген Кондратюк <lachend@gmail.com>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ab/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/af/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ast/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ca/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/cs/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/cy/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/de/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/dsb/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/el/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/eo/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/es/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/eu/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/fa/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/fi/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/fr/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/gl/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/he/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/hsb/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/hu/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/hy/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ia/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/id/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/is/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/it/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ja/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ka/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/kk/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ne/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/nl/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/pa/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/pl/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/pt/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/pt_BR/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ro/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/sk/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/sl/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/tl/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/tr/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/uk/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/zh_Hant/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183799
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-04-11 09:55:54 +02:00
Michael Weghorn 38d3c9abe6 android: Drop linker flag for libandroid_support
According to [1], libandroid_support is no longer needed
for API level >= 21. Quoting from the issue:

> Dropping KitKat will have greater benefits than the other API levels
> we've dropped support for over the years (and while not the only reason,
> one motivation for the prior support removals was getting us
> closer to being able to drop 19/20):
>
> 1. libandroid_support will no longer be needed.
>   i. libandroid_support
>      adds to the APK size for all apps. Even if your minSdkVersion is
>      21+, libc++ is built for the lowest API level supported by the NDK,
>      so it includes some pieces of libandroid_support.
> [...]

The LO Android build no longer supports API versions < 21
since:

    commit c2fc2c8c7c
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Tue Dec 5 09:57:22 2023 +0100

        android: Bump minSdkVersion to 21 (Android 5.0)

The linker flag was otherwise now causing linker errors in an NDK 28
build in a WIP branch including a fix for tdf#162769, using

    --with-distro=LibreOfficeAndroidX86`
    --with-android-sdk=/home/michi/Android/Sdk
    --with-android-ndk=/home/michi/Android/Sdk/ndk/28.0.13004108/

Error:

    Linking /home/michi/development/git/libreoffice-WORKTREE-android/android/obj/local/x86/liblo-native-code.so
    ld.lld: error: unable to find library -landroid_support
    clang++: error: linker command failed with exit code 1 (use -v to see invocation)

The linker flag had already been dropped earlier in

    commit a7f6338875
    Author: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
    Date:   Wed Aug 7 12:06:25 2019 +0200

        android: support NDK 19 and above (20 as of this commit)

but was restored in

    commit f68a36b62e
    Date:   Fri Oct 25 07:42:30 2019 +0200

        android: Fix problems with unwinding in the Online-based Android app.

        This partially reverts a7f6338875.  The
        problem is that with that approach, the problems with unwinding as
        described in 312eeeee42 were plaguing the
        Online-based Android app, leading to mysterious crashes with stack
        traces like:

         #00 pc 0005f2b6  /apex/com.android.runtime/lib/bionic/libc.so (abort+166) (BuildId: 68c87e04526a60689ecb5deb329804a0)
         #01 pc 05caaae7  /data/app/libreoffice.debug-fBEOIUwPHY3_k3eQid159Q==/lib/arm/liblo-native-code.so (BuildId: 1c3d0e6336ddfc3578e1c186944160252a750b8b)
         ...
         #06 pc 07452e43  /data/app/libreoffice.debug-fBEOIUwPHY3_k3eQid159Q==/lib/arm/liblo-native-code.so (BuildId: 1c3d0e6336ddfc3578e1c186944160252a750b8b)
         #07 pc 0005a37c  /apex/com.android.runtime/lib/bionic/libc.so (__restore_rt) (BuildId: 68c87e04526a60689ecb5deb329804a0)
         #08 pc 0005f2b2  /apex/com.android.runtime/lib/bionic/libc.so (abort+162) (BuildId: 68c87e04526a60689ecb5deb329804a0)
         #09 pc 07565d3b  /data/app/libreoffice.debug-fBEOIUwPHY3_k3eQid159Q==/lib/arm/liblo-native-code.so (BuildId: 1c3d0e6336ddfc3578e1c186944160252a750b8b)
         ...
         #11 pc 07565641  /data/app/libreoffice.debug-fBEOIUwPHY3_k3eQid159Q==/lib/arm/liblo-native-code.so (BuildId: 1c3d0e6336ddfc3578e1c186944160252a750b8b)
         #12 pc 0001e394  /apex/com.android.runtime/lib/bionic/libm.so (__gnu_Unwind_RaiseException+108) (BuildId: 0ee3a75927e0da4fa0fe29469ccf8b39)
         #13 pc 0001eee8  /apex/com.android.runtime/lib/bionic/libm.so (_Unwind_RaiseException+20) (BuildId: 0ee3a75927e0da4fa0fe29469ccf8b39)

Hopefully whatever was the problem back then is not
retriggered by dropping `-landroid_support` again
these days.

[1] https://github.com/android/ndk/issues/1751

Change-Id: Icd45abee58e13a2fc77d78d12e823a8045272b4f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181898
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-02-20 16:28:33 +01:00
Michael Weghorn 45cfeed908 tdf#165211 android: Include tabbuttonsmirrored.ui
This fixes a crash seen when trying to open the
sample file from tdf#165211. From ADB log:

    02-18 12:10:07.538  7343  7378 E libo:sal/osl/unx/file: failed to open /assets/share/config/soffice.cfg/svt/ui/tabbuttonsmirrored.ui
    02-18 12:10:07.538  7343  7378 W vcl.builder: 1:include/vcl/widgetbuilder.hxx:74: Unable to read .ui file file:///assets/share/config/soffice.cfg/svt/ui/tabbuttonsmirrored.ui
    02-18 12:10:07.538  7343  7378 F libc    : /home/michi/development/git/libreoffice-WORKTREE-android/include/vcl/widgetbuilder.hxx:76: void WidgetBuilder<vcl::Window, VclPtr<vcl::Window>, PopupMenu, VclPtr<PopupMenu>>::processUIFile(Widget *) [Widget = vcl::Window, WidgetPtr = VclPtr<vcl::Window>, MenuClass = PopupMenu, MenuPtr = VclPtr<PopupMenu>]: assertion "false && "missing ui file or missing gb_CppunitTest_use_uiconfigs dependency"" failed
    02-18 12:10:07.538  7343  7381 I stderr  : /home/michi/development/git/libreoffice-WORKTREE-android/include/vcl/widgetbuilder.hxx:76: void WidgetBuilder<vcl::Window, VclPtr<vcl::Window>, PopupMenu, VclPtr<PopupMenu>>::processUIFile(Widget *) [Widget = vcl::Window, WidgetPtr = VclPtr<vcl::Window>, MenuClass = PopupMenu, MenuPtr = VclPtr<PopupMenu>]: assertion "false && "missing ui file or missing gb_CppunitTest_use_uiconfigs dependency"" failed
    02-18 12:10:07.538  7343  7378 E LibreOffice/androidinst: SalAbort: 'Unspecified application error'
    02-18 12:10:07.538  7343  7378 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 7378 (Thread-2), pid 7343 (org.libreoffice)

Change-Id: Ie3917043671f43af5e8251d4d9a05723c0c51690
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181828
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-02-18 14:11:58 +01:00
Michael Weghorn aaceec6a64 android: Update Android Gradle Plugin to 8.8.1
... and gradle to 8.10.2, as suggested by Android Studio.

Change-Id: Id3e90285ec1a40fdefbc0a4bcc9bc49e7a02f9c0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181825
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-02-18 14:11:46 +01:00
b5419f147d android-viewer translated using Weblate
Nepali currently translated at 17.2% (20 of 116 strings)

Change-Id: Ic4035d126f219a07a06e5fca1cbbcda44da450cd

android-viewer translated using Weblate

Romanian currently translated at 1.7% (2 of 116 strings)

Change-Id: I5546924ae3c8a06ef146ad9edace2d35b5808b77

Added translation for android-viewer using Weblate (Romanian)

Change-Id: Ia8a83b4214d1e2534effba69ec1b3616a94eee1a

android-viewer translated using Weblate

German currently translated at 100.0% (116 of 116 strings)

Change-Id: I4e8df9f44be8070659ef951e0a79ae1d358d9155

android-viewer translated using Weblate

Polish currently translated at 100.0% (116 of 116 strings)

Change-Id: I1963efa6ecef6c3259d31ef99fa087266c1e9156
Co-authored-by: Adam Rak <kitynska@gmail.com>
Co-authored-by: Christian Kühl <kuehl.christian@googlemail.com>
Co-authored-by: Miloiu Andrei <miloiuandrei@gmail.com>
Co-authored-by: Nabin  Khanal <boiinventer@gmail.com>
Co-authored-by: Weblate <noreply@documentfoundation.org>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/de/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ne/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/pl/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ro/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178880
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-01-18 11:23:38 +01:00
Michael Weghorn 3160e03a4d android: Update androidx.constraintlayout:constraintlayout to 2.2.0
Change-Id: If589496270104a7e5cd103833573672a4f7eb326
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178877
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-12-20 12:12:11 +01:00
Michael Weghorn 216d8a0a44 android: Update Android Gradle Plugin to 8.7.3
... and gradle to 8.9, as suggested by Android Studio.

Change-Id: Ic7c36e5d3f7117f877985cd4af82c79bcca9fb87
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178838
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-12-20 07:29:02 +01:00
280edea496 android-viewer translated using Weblate
Afrikaans currently translated at 70.6% (82 of 116 strings)

Change-Id: I71381e8730922f481c5d7cf1d0b5aa879e8dd8f3

android-viewer translated using Weblate

Afrikaans currently translated at 56.8% (66 of 116 strings)

Change-Id: Id75cae5888d66e89e6fb673deda1d4160892b8bb

Added translation for android-viewer using Weblate (Afrikaans)

Change-Id: Ia75e38962a94682d1b9e927da51ec018d54d7158

android-viewer translated using Weblate

Tagalog currently translated at 100.0% (116 of 116 strings)

Change-Id: I9d1b4fced291230fb73082bb8a00ed911e918ca6
Co-authored-by: Andy Flagg <libreoffice.tagalog@gmail.com>
Co-authored-by: Paul Roos <iNetRoos@gmail.com>
Co-authored-by: Weblate <noreply@documentfoundation.org>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/af/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/tl/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178391
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-12-18 13:06:03 +01:00
WeblateandAndy Flagg 7565ca8f5c android-viewer translated using Weblate
Tagalog currently translated at 100.0% (116 of 116 strings)

Change-Id: I9aa790d8d71820122306ce10a013a1b445ea238b
Co-authored-by: Andy Flagg <libreoffice.tagalog@gmail.com>
Co-authored-by: Weblate <noreply@documentfoundation.org>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/tl/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178320
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-12-11 17:34:30 +01:00
Weblateandeduver 80d4ce197f android-viewer translated using Weblate
Interlingua currently translated at 75.8% (88 of 116 strings)

Change-Id: I6f6529872aa3c3cf3553eacebe280195fa5f0699
Co-authored-by: Weblate <noreply@documentfoundation.org>
Co-authored-by: eduver <hmcb2080@gmail.com>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ia/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177478
Tested-by: Michael Weghorn <m.weghorn@posteo.de>
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-11-29 07:41:38 +01:00
Weblateandeduver b7e71559ce android-viewer translated using Weblate
Interlingua currently translated at 75.8% (88 of 116 strings)

Change-Id: I75ff1908970b8d28c3380e5791aea0146354868c
Co-authored-by: eduver <hmcb2080@gmail.com>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ia/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177272
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-11-27 10:54:51 +01:00
449df239a2 android-viewer translated using Weblate
Hebrew currently translated at 100.0% (116 of 116 strings)

Change-Id: I5a39070be19791e0f85ee32487bcca8a1876a9b8

android-viewer translated using Weblate

Interlingua currently translated at 75.8% (88 of 116 strings)

Change-Id: Iea0eb23bf7d58d78fd99668a8b057f3d9295a3fc

Added translation for android-viewer using Weblate (Tagalog)

Change-Id: I2f97dbf569d5eda71dfdd2a62c5563bd7918d43b
Co-authored-by: Andy Flagg <libreoffice.tagalog@gmail.com>
Co-authored-by: Weblate <noreply@documentfoundation.org>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: famese <hmcb2080@gmail.com>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/he/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ia/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175682
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-11-04 13:51:47 +01:00
WeblateandAndika Triwidada 7a749b0c34 android-viewer translated using Weblate
Indonesian currently translated at 100.0% (116 of 116 strings)

Change-Id: I072e698547ef9bc602168563245aec265aac6db2
Co-authored-by: Andika Triwidada <andika@gmail.com>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/id/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174780
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-10-15 17:03:07 +02:00
Bartosz Kosiorek 529dfc741a tdf#163170 Add support for MS Visio Template format with .vstx extension
libvisio is already supporting .vstx template format.
With this patch the LibreOffice is recognizing such file types,
and successfully opening it.

More information about format:
https://learn.microsoft.com/en-us/office/client-developer/visio/introduction-to-the-visio-file-formatvsdx

Change-Id: Ibee01288cdb2cd6a0ac3f371a22604d7bb5b471c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173997
Tested-by: Jenkins
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2024-09-29 10:04:37 +02:00
Michael Weghorn c9b7d8cc74 android: Update Android Gradle Plugin to 8.6.1
as suggested by Android Studio.

Change-Id: Idbd71e7766d44374b4972362fb917f385b4fc5a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174042
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-28 09:20:17 +02:00
52d0e53fa8 android-viewer translated using Weblate
Slovak currently translated at 100.0% (116 of 116 strings)

Change-Id: Ibc6247bf6000bbdaee75f4eb303eac5a4b6138bb

android-viewer translated using Weblate

Asturian currently translated at 100.0% (116 of 116 strings)

Change-Id: I9696da414ca126b4b84b789d04f28c9fffd4cf0f
Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Co-authored-by: Miloš Šrámek <msramek22@gmail.com>
Co-authored-by: Weblate <noreply@documentfoundation.org>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ast/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/sk/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171584
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-08-14 17:52:09 +02:00
WeblateandSoftInterlingua 128a1332d6 android-viewer translated using Weblate
Interlingua currently translated at 75.8% (88 of 116 strings)

Change-Id: Ic8de20a48ed2bd6c8756b3158432cba86811577b
Co-authored-by: SoftInterlingua <softinterlingua@gmail.com>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ia/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171103
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-29 08:17:56 +02:00
Ilmari Lauhakangas c5823a2e27 android, compilerplugins: fix issues found by Ruff linter
Change-Id: Idab013bf2ff1f274a07911ec8b545cd26142139c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171050
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-07-26 18:45:56 +02:00
WeblateandTaichi Haradaguchi b547d13a46 android-viewer translated using Weblate
Japanese currently translated at 83.6% (97 of 116 strings)

Change-Id: I0f1a0b85fa02badf103683cc589b8cc0a3a99a6b
Co-authored-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ja/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170788
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-22 10:42:54 +02:00
Michael Weghorn 9a3018ee0b android: Drop unused import
Change-Id: Idd578c2f1a984f1ecb9618ddfa8563cc467a6af2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170767
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-07-19 18:32:15 +02:00
Michael Weghorn 2546dd1b28 android: Drop unused ViewportMetrics class
There's still the `ImmutableViewportMetrics` class that
actually gets used.

Change-Id: I4645a33812441a2de36d666423742b164da76bda
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170766
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-19 18:32:09 +02:00
Michael Weghorn f1a130a87a android: Drop unnecessary semicolon
Change-Id: I6e47003e4c890da9c09b23f64a0e2eac24d2e6bd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170765
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-19 18:32:00 +02:00
Michael Weghorn 2180a868cc android: Drop unused TextLayer class
Change-Id: Id4be67dc7c3ac7ad7a820fca6af730c776ec88f8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170764
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-19 18:31:54 +02:00
Michael Weghorn 74d1b4e2d6 android: Drop unused local var
Change-Id: I31f02d8fbc0bb3b5b5cd57665ebd2c02138b654e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170763
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-07-19 18:31:48 +02:00
Michael Weghorn d8f08430c1 android: Drop unused imports
Change-Id: Ic7f38227d982d1f402b12df85cf37fcda2558ad7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170762
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-19 18:31:43 +02:00
Michael Weghorn f9f1e215cb android: Drop unused IntSize#nextPowerOfTwo(float)
Change-Id: Idec5616195875e4adec22a193d8d8a569de079e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170761
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-07-19 18:31:37 +02:00
Michael Weghorn 435b4d01e1 android: Drop unused imports
Change-Id: Ie26eb3ee5e068b75912d0392ca81c966972e72bf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170717
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-19 12:57:24 +02:00
Michael Weghorn 9cd74570a1 android: Drop unused DisplayMentrics#toJSON
Change-Id: I631932c4f4a6d61e89816b5d276bfe8384194939
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170716
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-19 12:57:14 +02:00
Michael Weghorn a91464d10f android: Drop unused CairoImage.FORMAT_INVALID
Change-Id: I4cd9aba81129921bae523f8afe182732119471c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170715
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-07-19 12:57:05 +02:00
Michael Weghorn 3ed11168c5 android: Make constant final
Addresses this warning/suggestion shown in Android Studio:

> Field 'LOGTAG' may be 'final'

And: Drop an unused import.

Change-Id: I6ce730a80690c2701a91cc7900cc801b370dc605
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170714
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-07-19 12:56:54 +02:00
Michael Weghorn f70a8cc859 android: Drop obsolete '@TargetApi(19)'
Obsolete since:

    commit c2fc2c8c7c
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Tue Dec 5 09:57:22 2023 +0100

        android: Bump minSdkVersion to 21 (Android 5.0)

Change-Id: I0b8d115b5be1e066a3232c8297de75ea1cea6cc3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170713
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-19 12:56:41 +02:00
Michael Weghorn 45eb67728f android: Drop unused Event#getTypeString
Change-Id: I5f6d553de58cde78099b503bbf1a958fa0bd8813
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170712
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-07-19 12:56:25 +02:00
Michael Weghorn 9e8db61261 android: Drop unused imports
Change-Id: Ic39f84002e4521a33f8f4209ae64a919b28cb538
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170711
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-07-19 12:56:17 +02:00
Michael Weghorn 938d4ceea5 android: Use String.equals for string comparison
Change-Id: I05ea3f7ee488328425743fd96e854f20c84600ca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170710
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-19 12:56:05 +02:00
Michael Weghorn aa7605571c android: Make constant static
Makes this warning/suggestion disappear in Android Studio:

> Field can be converted to a local variable

Change-Id: I710cd83c19fe1f83b756b035f05560974b349d22
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170709
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-19 12:55:54 +02:00
Michael Weghorn 55a62bbfc2 android: Drop unused mAlpha member from Cursor
Change-Id: I141abc523fb975fde997bdd961840456032fdcfa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170708
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-07-19 12:55:39 +02:00
Michael Weghorn 97b827aa61 android: Port from deprecated "archivesBaseName"
Port from deprecated Gradle API that is planned to
be removed in Gradle 9.0, as was warned about in the
build output previously:

    > Configure project :
    Script '/home/michi/development/git/libreoffice-WORKTREE-android/android/source/liboSettings.gradle': line 22
    The org.gradle.api.plugins.BasePluginConvention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#base_convention_deprecation
            at liboSettings_bbauwf0uak693a4tmdwwty192$_run_closure3.doCall$original(/home/michi/development/git/libreoffice-WORKTREE-android/android/source/liboSettings.gradle:22)
            (Run with --stacktrace to get the full stack trace of this deprecation warning.)
            at liboSettings_bbauwf0uak693a4tmdwwty192.run(/home/michi/development/git/libreoffice-WORKTREE-android/android/source/liboSettings.gradle:20)
            (Run with --stacktrace to get the full stack trace of this deprecation warning.)
    Script '/home/michi/development/git/libreoffice-WORKTREE-android/android/source/liboSettings.gradle': line 22
    The BasePluginExtension.archivesBaseName property has been deprecated. This is scheduled to be removed in Gradle 9.0. Please use the archivesName property instead. For more information, please refer to https://docs.gradle.org/8.7/dsl/org.gradle.api.plugins.BasePluginExtension.html#org.gradle.api.plugins.BasePluginExtension:archivesName in the Gradle documentation.
            at liboSettings_bbauwf0uak693a4tmdwwty192$_run_closure3.doCall$original(/home/michi/development/git/libreoffice-WORKTREE-android/android/source/liboSettings.gradle:22)
            (Run with --stacktrace to get the full stack trace of this deprecation warning.)

As described in the upgrading guide [1], use the "base"
configuration block in build.gradle instead.

[1] https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#base_convention_deprecation

Change-Id: I358569a72b508efd31d2872d5009ac4f060398d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170610
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-07-17 12:14:37 +02:00
Michael Weghorn 89fd1a2ada android: Show all gradle warnings
Set the gradle property to show individual warnings during the
build. Without this, the build output showed:

> Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
>
> You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
>
> For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

Now, it shows the individual issues that need to be addressed:

> > Configure project :
> Script '/home/michi/development/git/libreoffice-WORKTREE-android/android/source/liboSettings.gradle': line 22
> The org.gradle.api.plugins.BasePluginConvention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#base_convention_deprecation
>         at liboSettings_bbauwf0uak693a4tmdwwty192$_run_closure3.doCall$original(/home/michi/development/git/libreoffice-WORKTREE-android/android/source/liboSettings.gradle:22)
>         (Run with --stacktrace to get the full stack trace of this deprecation warning.)
>         at liboSettings_bbauwf0uak693a4tmdwwty192.run(/home/michi/development/git/libreoffice-WORKTREE-android/android/source/liboSettings.gradle:20)
>         (Run with --stacktrace to get the full stack trace of this deprecation warning.)
> Script '/home/michi/development/git/libreoffice-WORKTREE-android/android/source/liboSettings.gradle': line 22
> The BasePluginExtension.archivesBaseName property has been deprecated. This is scheduled to be removed in Gradle 9.0. Please use the archivesName property instead. For more information, please refer to https://docs.gradle.org/8.7/dsl/org.gradle.api.plugins.BasePluginExtension.html#org.gradle.api.plugins.BasePluginExtension:archivesName in the Gradle documentation.
>         at liboSettings_bbauwf0uak693a4tmdwwty192$_run_closure3.doCall$original(/home/michi/development/git/libreoffice-WORKTREE-android/android/source/liboSettings.gradle:22)
>         (Run with --stacktrace to get the full stack trace of this deprecation warning.)

Actually addressing them still needs to be done separately.

Change-Id: Ib749e9e21d3d5f5893c348a5070a1e994a395c6f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170609
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-17 12:14:29 +02:00
Michael Weghorn 27f1851eb2 android: Set minSdkVersion without "="
Addresses this warning shown in Android Studio:

> Do not use assignment with the minSdkVersion property (remove the '=')

Change-Id: I2d9e7037f7fb6e4d1625a8625a1b3820fb6e205f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170607
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-17 12:14:20 +02:00
Michael Weghorn 053d9feec4 android: Handle cursor keys
In Android Viewer, forward the left/right/up/down keys
as such by adding the corresponding mapping to
`LOKitTileProvider#getKeyCode`.

This allows navigating through the document using those
keys e.g. on a hardware keyboard.

This addresses this comment from a Google Play Review:

> Editing, the cursor doesn't respond to the cursor keys

Change-Id: I688e5d0cc1db4f9315f9c9cb2139c22117a210e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170605
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-17 12:13:33 +02:00
Michael Weghorn a360543249 android: Update Android Gradle Plugin to 8.5.1
... and gradle to 8.7, as suggested by Android Studio.

Change-Id: I572c1e0d62a477278fd63e613610d8d422d14a05
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170601
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-07-17 12:13:25 +02:00
WeblateandYaron Shahrabani dd56ce1bbf android-viewer translated using Weblate
Hebrew currently translated at 100.0% (116 of 116 strings)

Change-Id: I7f7c03b86b360ba3574882f189b7e45d0b661760
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/he/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170170
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-09 09:03:38 +02:00
Michael Weghorn 802a106541 tdf#157009 android: Add missing subdir for Triple-T/F-Droid icon
Even with

    commit 69189de8fa
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Thu May 16 09:26:44 2024 +0200

        tdf#157009 android: Add icon symlink for F-Droid

(and its 24-2 backport) in place, the icon is not shown
for LibreOffice Viewer in the F-Droid app and on the repo
website [1].

Revisiting the related specs [2] [3], it turns out
that the icon needs to be in an "icon" subdir in the
"graphics" directory, so add that missing "icon" subdir
and move the symlink there.

From [2]:

> └── listings
>     ├── en-US                           (en-US is the default locale in F-Droid)
>     │   ├── title.txt                   (app name)
>     │   ├── short-description.txt       (short description, max 80 chars, mandatory)
>     │   ├── full-description.txt        (full app description, mandatory)
>     │   ├── video-url.txt               (URL to a video introducing the app)
>     │   ├── whatsnew                    (alternative changelog location; single file, no .txt)
>     │   └── graphics
>     │       ├── icon                    (app icon; mandatory if your app doesn't include any png icon)
>     │       │   └── *.(png|jpg)         1 image, usually 512x512

[1] https://f-droid.org/en/packages/org.documentfoundation.libreoffice/
[2] https://f-droid.org/en/docs/All_About_Descriptions_Graphics_and_Screenshots/#triple-t-structure
[3] https://github.com/Triple-T/gradle-play-publisher?tab=readme-ov-file#uploading-graphic-based-listings

Change-Id: I43c23040bf63a34f8f9648b45fab6c47a8816b8d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169700
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-06-28 16:36:48 +02:00
WeblateandSoftInterlingua 2f350b868f android-viewer translated using Weblate
Interlingua currently translated at 75.0% (87 of 116 strings)

Change-Id: I863bf24dd6469ec7a263811d3c7b6cb1dbd907f2
Co-authored-by: SoftInterlingua <softinterlingua@gmail.com>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ia/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168820
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-06-14 23:28:13 +02:00
29525b020c android-viewer translated using Weblate
Japanese currently translated at 82.7% (96 of 116 strings)

Change-Id: I823d969cd027cbdd3778c5ca6887722831d01fbf

android-viewer translated using Weblate

Hebrew currently translated at 99.1% (115 of 116 strings)

Change-Id: I610c1282074f709b2b08baf6303cd70e2eef19c1
Co-authored-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
Co-authored-by: Weblate <noreply@documentfoundation.org>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/he/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ja/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168567
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-06-10 14:00:45 +02:00