diff options
author | John Reck <jreck@google.com> | 2011-05-23 16:50:29 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-05-23 16:50:29 -0700 |
commit | 5443ba43bb55c1a3e6ed846d8b5e5b5aac7dbeb4 (patch) | |
tree | cd2bd2fbbb64afe423ba2a864054f74515c7c1b8 /core/java | |
parent | 14e45f9b19a846af074d73b3792e35de0448ac21 (diff) | |
download | frameworks_base-5443ba43bb55c1a3e6ed846d8b5e5b5aac7dbeb4.zip frameworks_base-5443ba43bb55c1a3e6ed846d8b5e5b5aac7dbeb4.tar.gz frameworks_base-5443ba43bb55c1a3e6ed846d8b5e5b5aac7dbeb4.tar.bz2 |
Update the Desktop UA to Chrome
Bug: 4347787
Change-Id: I5117c7dbd4e73c39ed417113f12b517de5411e81
Diffstat (limited to 'core/java')
-rw-r--r-- | core/java/android/webkit/WebSettings.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/java/android/webkit/WebSettings.java b/core/java/android/webkit/WebSettings.java index 2b507fd..cb7752d 100644 --- a/core/java/android/webkit/WebSettings.java +++ b/core/java/android/webkit/WebSettings.java @@ -358,10 +358,9 @@ public class WebSettings { } // User agent strings. - private static final String DESKTOP_USERAGENT = - "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us)" - + " AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0" - + " Safari/530.17"; + private static final String DESKTOP_USERAGENT = "Mozilla/5.0 (X11; " + + "Linux x86_64) AppleWebKit/534.24 (KHTML, like Gecko) " + + "Chrome/11.0.696.34 Safari/534.24"; private static final String IPHONE_USERAGENT = "Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us)" + " AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0" |