summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/Browser.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/browser/Browser.java')
-rw-r--r--src/com/android/browser/Browser.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/browser/Browser.java b/src/com/android/browser/Browser.java
index 12c0c41..f49da5d 100644
--- a/src/com/android/browser/Browser.java
+++ b/src/com/android/browser/Browser.java
@@ -50,18 +50,19 @@ public class Browser extends Application {
@Override
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);
+
// Fix heap utilization for better heap size characteristics.
VMRuntime.getRuntime().setTargetHeapUtilization(
TARGET_HEAP_UTILIZATION);
// create CookieSyncManager with current Context
CookieSyncManager.createInstance(this);
- // remove all expired cookies
- CookieManager.getInstance().removeExpiredCookie();
BrowserSettings.getInstance().asyncLoadFromDb(this);
}