Changed logging default to true

This commit is contained in:
Ziver Koc 2014-08-06 14:03:21 +02:00
parent 871f5224ff
commit 4699017e68
2 changed files with 2 additions and 2 deletions

View file

@ -148,7 +148,7 @@ public class MainActivity extends FragmentActivity implements OnSharedPreference
} }
else { else {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
if(prefs.getBoolean("logging", false)) if(prefs.getBoolean("logging", true))
csvLogger = new CSVWriter(this); csvLogger = new CSVWriter(this);
else else
csvLogger = null; csvLogger = null;

View file

@ -8,7 +8,7 @@
android:key="logging" android:key="logging"
android:title="@string/pref_logging" android:title="@string/pref_logging"
android:summary="@string/pref_logging_summ" android:summary="@string/pref_logging_summ"
android:defaultValue="false" /> android:defaultValue="true" />
<EditTextPreference <EditTextPreference
android:key="logging_path" android:key="logging_path"
android:title="@string/pref_logging_path" android:title="@string/pref_logging_path"