diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2020-03-05 15:27:13 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2020-03-05 17:29:11 +0100 |
commit | 7f049babd79ad14242dd346945c31a90607082ed (patch) | |
tree | 6420b8b512d04ba29ca672cea294d1fa0c9f91cb /configure.ac | |
parent | 34c4800f6a8b9383418a2a7279accfbbac1762ac (diff) |
android hunspell: Disable for Android Viewer
Since hunspell/extension support does not work for the
Fennec-based Android Viewer, only enable the feature for
the LibreOffice-Online-based Android app, not Android
Viewer.
This amends commits 4f9531c81d4190090ede4d657acdd4b7628462d0
("android hunspell: Turn on the hunspell build on Android...",
2020-02-06) and 99e143cb771446b592e0d9e52bb16563e114b69a
("android hunspell: Don't explicitly disable extensions on
Android.", 2020-02-07) to prevent Android Viewer from
crashing whenever trying to open a document.
Change-Id: Ib35fb35baf542a66b77ce2eed902e68adfec7349
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90021
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index d896b12c8a6b..01c85265ccf3 100644 --- a/configure.ac +++ b/configure.ac @@ -2567,8 +2567,8 @@ if test "$enable_database_connectivity" = yes; then fi if test -z "$enable_extensions"; then - # For iOS and Android disable extensions unless specifically overridden with --enable-extensions. - if test $_os != iOS; then + # For iOS and Android Viewer, disable extensions unless specifically overridden with --enable-extensions. + if test $_os != iOS && test $_os != Android -o "$ENABLE_ANDROID_LOK" = TRUE ; then enable_extensions=yes fi fi |