diff options
author | Shimeng (Simon) Wang <swang@google.com> | 2010-03-09 14:30:07 -0800 |
---|---|---|
committer | Shimeng (Simon) Wang <swang@google.com> | 2010-03-10 14:38:51 -0800 |
commit | 161974f7f198e1e821297ab1aa46f9f124a972ed (patch) | |
tree | ac7b0aa05b4bb3b7f75496203f6c3c1b0a850b2d /src/com/android/browser/Browser.java | |
parent | fbb3f15f725e890837431f402b43e802045a4f3f (diff) | |
download | packages_apps_Browser-161974f7f198e1e821297ab1aa46f9f124a972ed.zip packages_apps_Browser-161974f7f198e1e821297ab1aa46f9f124a972ed.tar.gz packages_apps_Browser-161974f7f198e1e821297ab1aa46f9f124a972ed.tar.bz2 |
Avoid potential NPE if storage manager is not properly initialized.
Bug: 2498939
Change-Id: I92a14fdcb949d748bebec0a357d8baad37aeb46e
Diffstat (limited to 'src/com/android/browser/Browser.java')
-rw-r--r-- | src/com/android/browser/Browser.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/browser/Browser.java b/src/com/android/browser/Browser.java index 524f789..7822ec8 100644 --- a/src/com/android/browser/Browser.java +++ b/src/com/android/browser/Browser.java @@ -57,6 +57,7 @@ public class Browser extends Application { CookieSyncManager.createInstance(this); // remove all expired cookies CookieManager.getInstance().removeExpiredCookie(); + BrowserSettings.getInstance().loadFromDb(this); } static Intent createBrowserViewIntent() { |