android/source/AndroidManifest.xml | 2 -- 1 file changed, 2 deletions(-)
New commits: commit 44950bc4bbcafb86d9e6466b5ce0852122d7f2be Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Tue Mar 29 10:42:33 2022 +0200 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Tue Mar 29 11:59:28 2022 +0200 android: Enable support for FODS Enable support for MIME type "application/vnd.oasis.opendocument.spreadsheet-flat-xml" in AndroidManifest, the comment saying it crashes the app is obsolete. However, at least on my Android 10 AVD, that MIME type does not seem to be associated with '*.fods' files, so they were not offered to be opened. MIME type "application/octet-stream" was used instead, for which no support is declared. For testing, I just disabled the MIME type filter locally and was then able to open an FODS file just fine: --- a/android/source/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java +++ b/android/source/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java @@ -266,7 +266,7 @@ public class LibreOfficeUIActivity extends AppCompatActivity implements Settings } intent.setType("*/*"); - intent.putExtra(Intent.EXTRA_MIME_TYPES, SUPPORTED_MIME_TYPES);; + //intent.putExtra(Intent.EXTRA_MIME_TYPES, SUPPORTED_MIME_TYPES);; Change-Id: Ibf3f559a313f0b89bc4c25498e3efa0fcbded506 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132263 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> diff --git a/android/source/AndroidManifest.xml b/android/source/AndroidManifest.xml index 53a064fb901b..987aeed66ae6 100644 --- a/android/source/AndroidManifest.xml +++ b/android/source/AndroidManifest.xml @@ -48,9 +48,7 @@ <data android:mimeType="application/vnd.oasis.opendocument.text-flat-xml" /> <data android:mimeType="application/vnd.oasis.opendocument.graphics-flat-xml" /> <data android:mimeType="application/vnd.oasis.opendocument.presentation-flat-xml" /> - <!-- TODO: opening FODS documents crashes currently <data android:mimeType="application/vnd.oasis.opendocument.spreadsheet-flat-xml" /> - --> <!-- ODF templates --> <data android:mimeType="application/vnd.oasis.opendocument.text-template"/>