Add preference for SIA integration

This commit is contained in:
Moez Bhatti
2015-12-10 00:54:12 -05:00
parent ddae079bf9
commit a1705b21d5
3 changed files with 10 additions and 0 deletions
@@ -107,6 +107,7 @@ public class SettingsFragment extends PreferenceFragment implements Preference.O
public static final String BLOCKED_ENABLED = "pref_key_blocked_enabled";
public static final String BLOCKED_SENDERS = "pref_key_blocked_senders";
public static final String BLOCKED_FUTURE = "pref_key_block_future";
public static final String SHOULD_I_ANSWER = "pref_key_should_i_answer";
public static final String MOBILE_ONLY = "pref_key_mobile_only";
public static final String COMPOSE_GROUP = "pref_key_compose_group";
public static final String SPLIT_SMS = "pref_key_split";
+2
View File
@@ -170,6 +170,8 @@
<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_should_i_answer">Should I Answer? Integration</string>
<string name="pref_should_i_answer_summary">Automatically delete incoming messages from numbers which are blocked through Should I Answer?</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>
@@ -103,6 +103,13 @@
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_should_i_answer"
android:layout="@layout/list_item_preference"
android:summary="@string/pref_should_i_answer_summary"
android:title="@string/pref_should_i_answer"
android:widgetLayout="@layout/view_switch" />
<CheckBoxPreference
android:defaultValue="false"
android:key="pref_key_mobile_only"