diff options
| author | Grace Kloba <klobag@google.com> | 2009-09-23 13:33:10 -0700 |
|---|---|---|
| committer | Grace Kloba <klobag@google.com> | 2009-09-24 09:51:36 -0700 |
| commit | 674f39ae50fb78dbc50c9249a8681cfcab04e6a0 (patch) | |
| tree | af1e58efdb10ca638b25c532734faec56ff9d1a4 /src/com/android/browser | |
| parent | 00d85e74921459b34e70eb93368245b4c0a9bf5f (diff) | |
| download | packages_apps_Browser-674f39ae50fb78dbc50c9249a8681cfcab04e6a0.tar.gz packages_apps_Browser-674f39ae50fb78dbc50c9249a8681cfcab04e6a0.tar.bz2 packages_apps_Browser-674f39ae50fb78dbc50c9249a8681cfcab04e6a0.zip | |
Add enable plug-ins to UI. Remove pluginsPath from BrowserSettings as it is unused now.
Diffstat (limited to 'src/com/android/browser')
| -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; } |
