Fix default value of "cacheDownloaded"

Change the default value of the "cacheDownloaded" preference used in
the actual code to match the default value that is specified in XML
and shown to the user.
This commit is contained in:
Henrik Tunedal 2011-03-08 17:40:27 +01:00
parent aedcdaf238
commit 4caa43d0d6

View File

@ -189,7 +189,7 @@ public class AppDetails extends ListActivity {
// Get the preferences we're going to use in this Activity...
SharedPreferences prefs = PreferenceManager
.getDefaultSharedPreferences(getBaseContext());
pref_cacheDownloaded = prefs.getBoolean("cacheDownloaded", true);
pref_cacheDownloaded = prefs.getBoolean("cacheDownloaded", false);
pref_expert = prefs.getBoolean("expert", false);
viewResetRequired = true;