diff options
author | Andrew Lee <anwlee@google.com> | 2015-10-30 10:56:00 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2015-10-30 11:04:07 -0700 |
commit | efc4d0f7d35fa9aa6395c3290ae04ef73671a428 (patch) | |
tree | 8699ffe9aa60c0d746149b84e8ee04580ea9f5c5 /res | |
parent | 72579fe971e0a0c3711438e8852d9659f48101c8 (diff) |
Always hide blocked calls.
- Remove setting for show/hide.
- Remove utilities and behaviors for show/hide.
~ Continue filtering blocked call types in call log (which may be
marked by other applications.)
~ Change behavior after blocking call; instead of keeping the call
log entry but changing the type to BLOCKED, delete it instead.
+ Default behavior is now to delete entries and visual voicemails of
blocked calls.
Bug: 25378068
Bug: 25106387
Change-Id: I8cbc419b25cce6ba39099857cffe4eb1df9d0bef
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/blocked_number_header.xml | 35 | ||||
-rw-r--r-- | res/values/strings.xml | 6 |
2 files changed, 0 insertions, 41 deletions
diff --git a/res/layout/blocked_number_header.xml b/res/layout/blocked_number_header.xml index 29a05bd26..bbb9c1081 100644 --- a/res/layout/blocked_number_header.xml +++ b/res/layout/blocked_number_header.xml @@ -45,41 +45,6 @@ </LinearLayout> - - <android.support.v7.widget.CardView - android:id="@+id/hide_blocked_calls_setting" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginBottom="8dp" - card_view:cardCornerRadius="0dp"> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="horizontal" - android:gravity="center_vertical" - android:padding="16dp" - android:paddingEnd="8dp" - android:background="@android:color/white" - android:focusable="true"> - - <TextView - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_weight="1" - android:text="@string/blocked_call_settings_hide_setting" - style="@style/BlockedNumbersDescriptionTextStyle" /> - - <Switch android:id="@+id/hide_blocked_calls_switch" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginLeft="40dp" - android:focusable="false" /> - - </LinearLayout> - - </android.support.v7.widget.CardView> - <android.support.v7.widget.CardView android:layout_width="match_parent" android:layout_height="wrap_content" diff --git a/res/values/strings.xml b/res/values/strings.xml index f74d2ea0f..773626ff2 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -855,12 +855,6 @@ You previously marked some callers to be automatically sent to voicemail via other apps. </string> - <!-- Text for a setting to hide blocked calls and automatically delete new voicemail from block - numbers. [CHAR LIMIT=NONE] --> - <string name="blocked_call_settings_hide_setting"> - Hide calls and automatically delete new voicemails from blocked numbers. - </string> - <!-- Label for button to view numbers of contacts previous marked to be sent to voicemail. [CHAR_LIMIT=20] --> <string name="blocked_call_settings_view_numbers_button">View Numbers</string> |