Fixed problem with default logging preference settings being incorrect

This commit is contained in:
Graham Jones
2022-01-28 23:04:44 +00:00
parent 438f0cb0b9
commit fd1aff80b1
8 changed files with 22 additions and 17 deletions

View File

@@ -70,6 +70,7 @@
android:title="Enable Phone Call Alarm" />
</PreferenceCategory>
-->
<!--
<PreferenceCategory android:title="@string/AlarmLoggingTitle">
<CheckBoxPreference
android:defaultValue="true"
@@ -82,4 +83,5 @@
android:summary="@string/log_data_summary"
android:title="@string/log_data_title"/>
</PreferenceCategory>
-->
</PreferenceScreen>

View File

@@ -6,7 +6,7 @@
android:summary="@string/select_datasource_summary"
android:entries="@array/datasource_list"
android:entryValues="@array/datasource_list_values"
android:defaultValue="Garmin"
android:defaultValue="Phone"
android:dialogTitle="@string/select_datasource_title" />
<Preference
android:key="SelectBLEDevice"
@@ -14,6 +14,7 @@
android:summary="@string/select_ble_device_desc"
android:widgetLayout="@layout/pref_select_ble_device_button"
/>
<!--
<CheckBoxPreference
android:defaultValue="true"
android:key="LogAlarms"
@@ -55,6 +56,8 @@
android:key="OSDUrl"
android:summary="@string/remote_url_summary"
android:title="@string/remote_url_title" />
-->
<CheckBoxPreference
android:defaultValue="false"
android:key="PreventSleep"

View File

@@ -16,7 +16,7 @@
android:summary="@string/eventDurationSummary"
android:title="@string/eventDurationTitle" />
<CheckBoxPreference
android:defaultValue="false"
android:defaultValue="true"
android:key="AutoPruneDb"
android:summary="@string/AutoPruneDbSummary"
android:title="@string/AutoPruneDbTitle" />
@@ -27,7 +27,7 @@
android:title="@string/dataRetentionPeriodTitle" />
<CheckBoxPreference
android:defaultValue="false"
android:defaultValue="true"
android:key="LogDataRemote"
android:summary="@string/log_data_remote_summary"
android:title="@string/log_data_remote_title" />