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:
tobiasKaminsky 2019-07-10 16:46:20 +02:00
parent 48ef271b02
commit 2c2425812f
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -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")