summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/BrowserSettings.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/browser/BrowserSettings.java')
-rw-r--r--src/com/android/browser/BrowserSettings.java13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/com/android/browser/BrowserSettings.java b/src/com/android/browser/BrowserSettings.java
index 5a022ef..e0e7bc4 100644
--- a/src/com/android/browser/BrowserSettings.java
+++ b/src/com/android/browser/BrowserSettings.java
@@ -53,9 +53,9 @@ public class BrowserSettings implements OnSharedPreferenceChangeListener,
PreferenceKeys {
// TODO: Do something with this UserAgent stuff
- private static final String DESKTOP_USERAGENT = "Mozilla/5.0 (Macintosh; " +
- "U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/533.16 (KHTML, " +
- "like Gecko) Version/5.0 Safari/533.16";
+ 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 4_0 like Mac OS X; en-us) AppleWebKit/532.9 " +
@@ -69,11 +69,16 @@ public class BrowserSettings implements OnSharedPreferenceChangeListener,
"Android 2.2; en-us; Nexus One Build/FRF91) AppleWebKit/533.1 " +
"(KHTML, like Gecko) Version/4.0 Mobile Safari/533.1";
+ private static final String HONEYCOMB_USERAGENT = "Mozilla/5.0 (Linux; U; " +
+ "Android 3.1; en-us; Xoom Build/HMJ25) AppleWebKit/534.13 " +
+ "(KHTML, like Gecko) Version/4.0 Safari/534.13";
+
private static final String USER_AGENTS[] = { null,
DESKTOP_USERAGENT,
IPHONE_USERAGENT,
IPAD_USERAGENT,
- FROYO_USERAGENT
+ FROYO_USERAGENT,
+ HONEYCOMB_USERAGENT,
};
private static BrowserSettings sInstance;