1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-31 11:31:40 +00:00

Print images

This commit is contained in:
M66B 2020-01-15 11:40:56 +01:00
parent ef8b899277
commit 5d3ee76c3f

View file

@ -5466,6 +5466,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
// https://developer.android.com/training/printing/html-docs.html
printWebView = new WebView(getContext());
WebSettings settings = printWebView.getSettings();
settings.setLoadsImagesAutomatically(true);
settings.setMixedContentMode(WebSettings.MIXED_CONTENT_ALWAYS_ALLOW);
settings.setAllowFileAccess(false);