mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
User agent for all connections
This commit is contained in:
@@ -479,6 +479,7 @@ public class FragmentOAuth extends FragmentBase {
|
||||
connection.setRequestMethod("GET");
|
||||
connection.setReadTimeout(MAILRU_TIMEOUT);
|
||||
connection.setConnectTimeout(MAILRU_TIMEOUT);
|
||||
connection.setRequestProperty("User-Agent", WebViewEx.getUserAgent(context));
|
||||
connection.connect();
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user