Merge pull request #4217 from nextcloud/fixGSS

fix GSS on android
This commit is contained in:
Andy Scherzinger 2019-07-10 19:15:10 +02:00 committed by GitHub
commit 85c129c9a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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