Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36fd7a39 authored by John Reck's avatar John Reck
Browse files

Tweak user agent building to avoid multiple spaces

 Bug: 3211038
 The building of the user agent could previously have multiple sequential
 spaces. This was causing the CTS test to fail.

Change-Id: I13fc76ba6b97ee84dd44461b4d03b6ca70b48cdf
parent 5e63e251
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -490,6 +490,7 @@ public class WebSettings {
        if ("REL".equals(Build.VERSION.CODENAME)) {
            final String model = Build.MODEL;
            if (model.length() > 0) {
                buffer.append(" ");
                buffer.append(model);
            }
        }