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

Commit ce761d32 authored by Grace Kloba's avatar Grace Kloba
Browse files

Only add model in the UA for the release build

parent 580a2921
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/");