mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-28 11:46:31 +02:00
Added remark
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user