From 2d28a6ff66bd2900d30101e3a0c8e0c8957beb8a Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 6 Dec 2024 19:09:53 +0100 Subject: [PATCH] Added remark --- app/src/main/java/eu/faircode/email/WebViewEx.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/faircode/email/WebViewEx.java b/app/src/main/java/eu/faircode/email/WebViewEx.java index f8a11ee9ba..150e2e46de 100644 --- a/app/src/main/java/eu/faircode/email/WebViewEx.java +++ b/app/src/main/java/eu/faircode/email/WebViewEx.java @@ -489,6 +489,7 @@ public class WebViewEx extends WebView implements DownloadListener, View.OnLongC @NonNull static String getUserAgent(Context context, WebView webView) { // https://developer.chrome.com/docs/multidevice/user-agent/#chrome-for-android + // https://android-developers.googleblog.com/2024/12/user-agent-reduction-on-android-webview.html SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); boolean generic_ua = prefs.getBoolean("generic_ua", false); if (generic_ua)