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

Commit feb2b311 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 22988 into eclair

* changes:
  Only add model in the UA for the release build
parents 01248f0f ce761d32
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -360,12 +360,14 @@ public class WebSettings {
            // default to "en"
            buffer.append("en");
        }
        
        // add the model for the release build
        if ("REL".equals(Build.VERSION.CODENAME)) {
            final String model = Build.MODEL;
            if (model.length() > 0) {
                buffer.append("; ");
                buffer.append(model);
            }
        }
        final String id = Build.ID;
        if (id.length() > 0) {
            buffer.append(" Build/");