diff options
author | Bart Sears <bsears@google.com> | 2010-11-19 16:21:36 -0800 |
---|---|---|
committer | Bart Sears <bsears@google.com> | 2010-11-19 16:34:38 -0800 |
commit | 096fbe0583fec1fe5598a77f68f6c8185af655cb (patch) | |
tree | cb893d61edb066d57f567abd3037b012388cffc9 | |
parent | c2b18f28e05a06c633393c8c98a60e9ebb46da5d (diff) | |
download | frameworks_base-096fbe0583fec1fe5598a77f68f6c8185af655cb.zip frameworks_base-096fbe0583fec1fe5598a77f68f6c8185af655cb.tar.gz frameworks_base-096fbe0583fec1fe5598a77f68f6c8185af655cb.tar.bz2 |
Make sure we have a ";" after locale in User Agent
When in pre-release mode, we did not have a semi-colon between
the locale (i.e. "en-us") and the the Build (i.e. "Build/HRH50")
In release mode we correctly added the semi-colon (and put in
the "model") so this was only an issue when in pre-release mode.
Bug: 3215465
Change-Id: Ied1acc69463ffddabbc886e7e7e5e8cc8ab14956
-rw-r--r-- | core/java/android/webkit/WebSettings.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/webkit/WebSettings.java b/core/java/android/webkit/WebSettings.java index 4d582ef..f4caa74 100644 --- a/core/java/android/webkit/WebSettings.java +++ b/core/java/android/webkit/WebSettings.java @@ -483,11 +483,11 @@ public class WebSettings { // default to "en" buffer.append("en"); } + buffer.append("; "); // 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); } } |