diff options
Diffstat (limited to 'src/com')
| -rw-r--r-- | src/com/android/browser/BrowserSettings.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/com/android/browser/BrowserSettings.java b/src/com/android/browser/BrowserSettings.java index cb51b5069..e36d54bfd 100644 --- a/src/com/android/browser/BrowserSettings.java +++ b/src/com/android/browser/BrowserSettings.java @@ -64,7 +64,6 @@ class BrowserSettings extends Observable { private boolean loadsImagesAutomatically = true; private boolean javaScriptEnabled = true; private boolean pluginsEnabled = true; - private String pluginsPath; // default value set in loadFromDb(). private boolean javaScriptCanOpenWindowsAutomatically = false; private boolean showSecurityWarnings = true; private boolean rememberPasswords = true; @@ -242,10 +241,6 @@ class BrowserSettings extends Observable { public void loadFromDb(Context ctx) { SharedPreferences p = PreferenceManager.getDefaultSharedPreferences(ctx); - - // Set the default value for the plugins path to the application's - // local directory. - pluginsPath = ctx.getDir("plugins", 0).getPath(); // Set the default value for the Application Caches path. appCachePath = ctx.getDir("appcache", 0).getPath(); // Determine the maximum size of the application cache. @@ -279,7 +274,6 @@ class BrowserSettings extends Observable { javaScriptEnabled); pluginsEnabled = p.getBoolean("enable_plugins", pluginsEnabled); - pluginsPath = p.getString("plugins_path", pluginsPath); javaScriptCanOpenWindowsAutomatically = !p.getBoolean( "block_popup_windows", !javaScriptCanOpenWindowsAutomatically); @@ -368,10 +362,6 @@ class BrowserSettings extends Observable { update(); } - public String getPluginsPath() { - return pluginsPath; - } - public String getHomePage() { return homeUrl; } |
