1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-02 19:36:14 +02:00
Gadgetbridge/app/src/main/res/xml/devicesettings_garmin_default_reply_suffix.xml
Daniele Gobbetti f1c7c97558 Garmin: Add support for custom replies (notifications and calls)
To enable custom replies an override must be defined in the devices coordinator that actually support custom replies.

The custom preferences allow to:
- enable / disable the default message suffix (Instinct 2 appends "sent from my $vendor device" to each reply by default)
- define custom messages to reply to calls and incoming messages (leaving those lists empty will enable the default messages to be used)

Also adds a new protobuf definition file of mostly unknown values that enable toggling the message suffix on Instinct 2.
2024-04-25 18:09:36 +02:00

10 lines
442 B
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<SwitchPreferenceCompat
android:key="pref_key_garmin_default_reply_suffix"
android:summary="@string/pref_summary_garmin_default_reply_suffix"
android:title="@string/pref_title_garmin_default_reply_suffix">
</SwitchPreferenceCompat>
</androidx.preference.PreferenceScreen>