summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Hamilton <jham@android.com>2010-10-04 12:53:49 -0500
committerJeff Hamilton <jham@android.com>2010-10-04 12:53:49 -0500
commit175ab30554bdae7a64b04cb37098b2116d212973 (patch)
tree54eabc722bfa59dbd7f2165f7e385cb09c7927f5
parent90254c9659d15a11c2056e52d932a953b70a18c2 (diff)
downloadpackages_apps_Browser-175ab30554bdae7a64b04cb37098b2116d212973.tar.gz
packages_apps_Browser-175ab30554bdae7a64b04cb37098b2116d212973.tar.bz2
packages_apps_Browser-175ab30554bdae7a64b04cb37098b2116d212973.zip
Fix some comments.
Change-Id: If36b4479127020e42b3ae77105337275f487b848
-rw-r--r--src/com/android/browser/BrowserSettings.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/com/android/browser/BrowserSettings.java b/src/com/android/browser/BrowserSettings.java
index 8cd001e24..dfec48f93 100644
--- a/src/com/android/browser/BrowserSettings.java
+++ b/src/com/android/browser/BrowserSettings.java
@@ -260,7 +260,7 @@ public class BrowserSettings extends Observable {
/**
* Load settings from the browser app's database.
* NOTE: Strings used for the preferences must match those specified
- * in the browser_preferences.xml
+ * in the various preference XML files.
* @param ctx A Context object used to query the browser's settings
* database. If the database exists, the saved settings will be
* stored in this BrowserSettings object. This will update all
@@ -298,10 +298,8 @@ public class BrowserSettings extends Observable {
pageCacheCapacity = 1;
}
- // Load the defaults from the xml
- // This call is TOO SLOW, need to manually keep the defaults
- // in sync
- //PreferenceManager.setDefaultValues(ctx, R.xml.browser_preferences);
+ // PreferenceManager.setDefaultValues is TOO SLOW, need to manually keep
+ // the defaults in sync
syncSharedPreferences(ctx, p);
}