Files
Michael Weghorn 2e41a82fc5 tdf#170561 android: Don't try to show MS Works encoding dialog
Showing dialogs isn't supported in Android Viewer.
Therefore, don't try to show MSWorksImportFilter
dialog to ask for the encoding to use there, but
use the default encoding determined previously.

With this in place, the same file from tdf#170561
is displayed fine when e.g. opened from the Material
Files file manager [1].
(It can't be selected when trying to open a file from
within the app, though, probably due to the MIME type
determined by Android not matching any of those that
are declared as supported.)

[1] https://f-droid.org/en/packages/me.zhanghai.android.files/

Change-Id: I19b7cc2efb88b6d594b4d44015ddc55b67014871
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199723
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-02-24 13:13:51 +01:00
..