Changed logging default to true
This commit is contained in:
parent
871f5224ff
commit
4699017e68
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue