mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
fix GSS on android: we send custom user agent to have info about device, but we need some identifier
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
48ef271b02
commit
2c2425812f
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
|
|||
|
||||
private static String getWebLoginUserAgent() {
|
||||
return Build.MANUFACTURER.substring(0, 1).toUpperCase(Locale.getDefault()) +
|
||||
Build.MANUFACTURER.substring(1).toLowerCase(Locale.getDefault()) + " " + Build.MODEL;
|
||||
Build.MANUFACTURER.substring(1).toLowerCase(Locale.getDefault()) + " " + Build.MODEL + " (Android)";
|
||||
}
|
||||
|
||||
@SuppressLint("SetJavaScriptEnabled")
|
||||
|
|
Loading…
Reference in a new issue