diff options
Diffstat (limited to 'src/com/android/browser/Browser.java')
-rw-r--r-- | src/com/android/browser/Browser.java | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/com/android/browser/Browser.java b/src/com/android/browser/Browser.java index f49da5d..65eb0ce 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() { |