Added dialog to block phone numbers before they're received

This commit is contained in:
Moez Bhatti
2015-09-23 01:28:48 -04:00
parent a7b881b057
commit 4f31f33aef
6 changed files with 118 additions and 3 deletions
+5
View File
@@ -166,6 +166,8 @@
<string name="pref_endlessjabber_summary">Enable full support for Yappy</string>
<string name="pref_blocked_conversations">Blocked conversations</string>
<string name="pref_blocked_conversations_summary">Long-press on a conversation and block to move to blocked inbox and stop notifications</string>
<string name="pref_block_future">Block future messages</string>
<string name="pref_block_future_summary">Add additional phone numbers to block</string>
<string name="pref_mobile_only">Mobile numbers</string>
<string name="pref_mobile_only_summary">Only show mobile numbers in contact suggestions</string>
<string name="pref_auto_emoji">Automatic emoji</string>
@@ -304,6 +306,8 @@
<string name="title_donate">Donate</string>
<!--QK Response dialog title-->
<string name="title_qk_responses">QK Responses</string>
<string name="title_block_address">Block number</string>
<string name="title_unblock_address">Unblock number</string>
<!-- Menu shown in the context menu when long pressing on a message when the message contains
one or more phone numbers and/or email addresses and the number or email is new to
@@ -368,6 +372,7 @@
<string name="call">Call</string>
<!--Positive action button-->
<string name="yes">Yes</string>
<string name="add">Add</string>
<!--Positive action button-->
<string name="save">Save</string>
<!--Positive action button-->
@@ -96,6 +96,13 @@
android:summary="@string/pref_blocked_conversations_summary"
android:title="@string/pref_blocked_conversations"
android:widgetLayout="@layout/view_checkbox" />
<Preference
android:defaultValue="false"
android:dependency="pref_key_blocked_enabled"
android:key="pref_key_block_future"
android:layout="@layout/list_item_preference"
android:summary="@string/pref_block_future_summary"
android:title="@string/pref_block_future" />
<CheckBoxPreference
android:defaultValue="false"
android:key="pref_key_mobile_only"