summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/Browser.java
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-04-25 09:01:54 -0700
committerJohn Reck <jreck@google.com>2011-04-26 13:03:32 -0700
commit35e9dd6283a2d65687104eb0b3a459c02dcb150b (patch)
treed7091a875a205b2650106d8d01331f30eeb7e68a /src/com/android/browser/Browser.java
parent6cd8f6b6ad2733f71d81de1188d830d010c1b4b6 (diff)
downloadandroid_packages_apps_Gello-35e9dd6283a2d65687104eb0b3a459c02dcb150b.tar.gz
android_packages_apps_Gello-35e9dd6283a2d65687104eb0b3a459c02dcb150b.tar.bz2
android_packages_apps_Gello-35e9dd6283a2d65687104eb0b3a459c02dcb150b.zip
Browser settings refactor
Change-Id: I6fc1b21f7ea692fbe37a17bf900e9b7408a9c077
Diffstat (limited to 'src/com/android/browser/Browser.java')
-rw-r--r--src/com/android/browser/Browser.java10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/com/android/browser/Browser.java b/src/com/android/browser/Browser.java
index f49da5d4..65eb0ce3 100644
--- a/src/com/android/browser/Browser.java
+++ b/src/com/android/browser/Browser.java
@@ -16,12 +16,9 @@
package com.android.browser;
-import android.os.FileUtils;
-import android.util.Log;
-
import android.app.Application;
import android.content.Intent;
-import android.webkit.CookieManager;
+import android.util.Log;
import android.webkit.CookieSyncManager;
import dalvik.system.VMRuntime;
@@ -52,9 +49,6 @@ public class Browser extends Application {
public void onCreate() {
super.onCreate();
- // Set the umask so that native code creates files with the correct
- // permissions (0660)
- FileUtils.setUMask(FileUtils.S_IRWXO);
if (LOGV_ENABLED)
Log.v(LOGTAG, "Browser.onCreate: this=" + this);
@@ -63,7 +57,7 @@ public class Browser extends Application {
TARGET_HEAP_UTILIZATION);
// create CookieSyncManager with current Context
CookieSyncManager.createInstance(this);
- BrowserSettings.getInstance().asyncLoadFromDb(this);
+ BrowserSettings.initialize(getApplicationContext());
}
static Intent createBrowserViewIntent() {