1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-31 02:54:29 +02:00

Settings: Move Intent API to standalone preference screen

This commit is contained in:
José Rebelo 2023-07-23 19:48:59 +01:00
parent 702651c119
commit a746943603

View File

@ -408,33 +408,38 @@
android:title="@string/activity_prefs_discovery_pairing" /> android:title="@string/activity_prefs_discovery_pairing" />
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory <PreferenceScreen
android:key="pref_key_intent_api" android:key="pref_screen_intent_api"
android:title="@string/pref_header_intent_api"> android:title="@string/pref_header_intent_api">
<CheckBoxPreference <PreferenceCategory
android:key="prefs_key_allow_bluetooth_intent_api" android:key="pref_key_intent_api"
android:title="@string/activity_prefs_allow_bluetooth_intent_api" android:title="@string/pref_header_intent_api">
android:summary="@string/activity_prefs_summary_allow_bluetooth_intent_api" />
<CheckBoxPreference <CheckBoxPreference
android:key="intent_api_allow_activity_sync" android:key="prefs_key_allow_bluetooth_intent_api"
android:title="@string/intent_api_allow_activity_sync_title" android:title="@string/activity_prefs_allow_bluetooth_intent_api"
android:summary="@string/intent_api_allow_activity_sync_summary" /> android:summary="@string/activity_prefs_summary_allow_bluetooth_intent_api" />
<CheckBoxPreference <CheckBoxPreference
android:key="intent_api_allow_trigger_export" android:key="intent_api_allow_activity_sync"
android:title="@string/intent_api_allow_trigger_export_title" android:title="@string/intent_api_allow_activity_sync_title"
android:summary="@string/intent_api_allow_trigger_export_summary" /> android:summary="@string/intent_api_allow_activity_sync_summary" />
<CheckBoxPreference <CheckBoxPreference
android:key="intent_api_broadcast_export" android:key="intent_api_allow_trigger_export"
android:title="@string/intent_api_broadcast_export_title" android:title="@string/intent_api_allow_trigger_export_title"
android:summary="@string/intent_api_broadcast_export_summary" /> android:summary="@string/intent_api_allow_trigger_export_summary" />
<CheckBoxPreference <CheckBoxPreference
android:key="intent_api_allow_debug_commands" android:key="intent_api_broadcast_export"
android:title="@string/intent_api_allow_debug_commands_title" android:title="@string/intent_api_broadcast_export_title"
android:summary="@string/intent_api_allow_debug_commands_summary" /> android:summary="@string/intent_api_broadcast_export_summary" />
</PreferenceCategory>
<CheckBoxPreference
android:key="intent_api_allow_debug_commands"
android:title="@string/intent_api_allow_debug_commands_title"
android:summary="@string/intent_api_allow_debug_commands_summary" />
</PreferenceCategory>
</PreferenceScreen>
</PreferenceScreen> </PreferenceScreen>