mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-26 05:58:33 +00:00
Add preference to disable the SMS channel all together.
1) If the SMS fallback preference is disabled, no outgoing messages will succeed via the SMS transport. 2) If the SMS fallback preference is disabled, "mirroring" the SMS db state when not the default system SMS app is disabled.
This commit is contained in:
@@ -678,6 +678,8 @@
|
||||
<string name="preferences__use_the_data_channel_for_communication_with_other_textsecure_users">
|
||||
Use the data channel for communication with other TextSecure users
|
||||
</string>
|
||||
<string name="preferences__allow_sms_fallback">Allow SMS Fallback</string>
|
||||
<string name="preferences__send_and_receive_sms_messages_when_push_is_not_available">Send and receive SMS messages when push is not available</string>
|
||||
|
||||
<!-- **************************************** -->
|
||||
<!-- menus -->
|
||||
|
@@ -16,16 +16,22 @@
|
||||
android:title="@string/preferences__make_default_sms_app"
|
||||
android:summary="@string/preferences__make_textsecure_the_default_sms_mms_app" />
|
||||
|
||||
<CheckBoxPreference android:defaultValue="false"
|
||||
android:key="pref_delivery_report_sms"
|
||||
android:summary="@string/preferences__request_a_delivery_report_for_each_sms_message_you_send"
|
||||
android:title="@string/preferences__sms_delivery_reports" />
|
||||
<!--<CheckBoxPreference android:defaultValue="false"-->
|
||||
<!--android:key="pref_delivery_report_sms"-->
|
||||
<!--android:summary="@string/preferences__request_a_delivery_report_for_each_sms_message_you_send"-->
|
||||
<!--android:title="@string/preferences__sms_delivery_reports" />-->
|
||||
|
||||
<CheckBoxPreference android:defaultValue="false"
|
||||
android:key="pref_toggle_push_messaging"
|
||||
android:title="@string/preferences__use_data_channel"
|
||||
android:summary="@string/preferences__use_the_data_channel_for_communication_with_other_textsecure_users"/>
|
||||
|
||||
<CheckBoxPreference android:defaultValue="true"
|
||||
android:enabled="false"
|
||||
android:key="pref_allow_sms_traffic_out"
|
||||
android:title="@string/preferences__allow_sms_fallback"
|
||||
android:summary="@string/preferences__send_and_receive_sms_messages_when_push_is_not_available"/>
|
||||
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory android:title="@string/preferences__notifications">
|
||||
<CheckBoxPreference android:key="pref_key_enable_notifications"
|
||||
|
Reference in New Issue
Block a user