Merge change 22988 into eclair
* changes: Only add model in the UA for the release build
This commit is contained in:
@@ -360,11 +360,13 @@ public class WebSettings {
|
|||||||
// default to "en"
|
// default to "en"
|
||||||
buffer.append("en");
|
buffer.append("en");
|
||||||
}
|
}
|
||||||
|
// add the model for the release build
|
||||||
final String model = Build.MODEL;
|
if ("REL".equals(Build.VERSION.CODENAME)) {
|
||||||
if (model.length() > 0) {
|
final String model = Build.MODEL;
|
||||||
buffer.append("; ");
|
if (model.length() > 0) {
|
||||||
buffer.append(model);
|
buffer.append("; ");
|
||||||
|
buffer.append(model);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
final String id = Build.ID;
|
final String id = Build.ID;
|
||||||
if (id.length() > 0) {
|
if (id.length() > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user