Fix some comments.
Change-Id: If36b4479127020e42b3ae77105337275f487b848
diff --git a/src/com/android/browser/BrowserSettings.java b/src/com/android/browser/BrowserSettings.java
index 8cd001e..dfec48f 100644
--- a/src/com/android/browser/BrowserSettings.java
+++ b/src/com/android/browser/BrowserSettings.java
@@ -260,7 +260,7 @@
/**
* 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 @@
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);
}