Index: src/org/adblockplus/sbrowser/contentblocker/MainPreferences.java |
=================================================================== |
--- a/src/org/adblockplus/sbrowser/contentblocker/MainPreferences.java |
+++ b/src/org/adblockplus/sbrowser/contentblocker/MainPreferences.java |
@@ -51,17 +51,17 @@ public class MainPreferences extends Pre |
{ |
return PreferenceManager.getDefaultSharedPreferences(this.getApplicationContext()); |
} |
@Override |
public void onCreate(Bundle savedInstanceState) |
{ |
super.onCreate(savedInstanceState); |
- PreferenceManager.setDefaultValues(this, R.layout.preferences_main, false); |
+ PreferenceManager.setDefaultValues(this, R.xml.preferences_main, false); |
this.getFragmentManager() |
.beginTransaction() |
.replace(android.R.id.content, new Preferences()) |
.commit(); |
// This try/catch block is a workaround for a preference mismatch |
// issue. We check for a type mismatch in one particular key and, |