summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/CrashLogExceptionHandler.java
diff options
context:
space:
mode:
authorVivek Sekhar <vsekhar@codeaurora.org>2014-11-13 16:20:11 -0800
committerVivek Sekhar <vsekhar@codeaurora.org>2014-11-20 15:47:23 -0800
commit7b3d2daaf37c1a5e9f5a9b482c13c9f25b170b27 (patch)
treef342c5c9bd563f4976bb270a6b2bd35e36231c09 /src/com/android/browser/CrashLogExceptionHandler.java
parent5712096ce835175100b2847ff665b26abce55f0c (diff)
downloadandroid_packages_apps_Gello-7b3d2daaf37c1a5e9f5a9b482c13c9f25b170b27.tar.gz
android_packages_apps_Gello-7b3d2daaf37c1a5e9f5a9b482c13c9f25b170b27.tar.bz2
android_packages_apps_Gello-7b3d2daaf37c1a5e9f5a9b482c13c9f25b170b27.zip
Re-implement UserAgent in browser
- Remove calls to SWE's WebSetting API and use the newer implementation of the engine. The newer implementation tracks UserAgent per navigation entry. - Allow to override the UserAgent using command line switches. - Remove debug option to change UserAgent string. - BrowserConfig class cleanup. Change-Id: Ib1cc4763e0cbf0207793d1f4e6b1644a9dbb5c08
Diffstat (limited to 'src/com/android/browser/CrashLogExceptionHandler.java')
-rw-r--r--src/com/android/browser/CrashLogExceptionHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/CrashLogExceptionHandler.java b/src/com/android/browser/CrashLogExceptionHandler.java
index 92075707..67beaab8 100644
--- a/src/com/android/browser/CrashLogExceptionHandler.java
+++ b/src/com/android/browser/CrashLogExceptionHandler.java
@@ -82,7 +82,7 @@ public class CrashLogExceptionHandler implements Thread.UncaughtExceptionHandler
public CrashLogExceptionHandler(Context ctx) {
mAppContext = ctx;
- BrowserCommandLine cl = new BrowserCommandLine();
+ BrowserCommandLine cl = BrowserCommandLine.getInstance();
if (cl.hasSwitch(CRASH_LOG_SERVER_CMD)) {
mLogServer = cl.getSwitchValue(CRASH_LOG_SERVER_CMD);
if (mLogServer != null) {