From 5632aa9ef16186ee9976fbf669e0f629f0f62520 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 20 Oct 2015 14:14:37 -0700 Subject: Delete voicemails from blocked users. + Delete voicemail when the notification is received if the number is blocked and the "hide" setting is set to true. + Changed utility to take time into account; only block voicemail notifications and delete voicemails if the voicemails are from after the time when the number was blocked. Bug: 24134270 Change-Id: I2f3b24d6291a6cec4a7d8530b00dd5a4656ab024 --- res/layout/blocked_number_fragment.xml | 42 ++++++++++++++-------------------- res/layout/blocked_number_header.xml | 9 ++++++-- 2 files changed, 24 insertions(+), 27 deletions(-) (limited to 'res/layout') diff --git a/res/layout/blocked_number_fragment.xml b/res/layout/blocked_number_fragment.xml index 906e8a10c..c5760da3a 100644 --- a/res/layout/blocked_number_fragment.xml +++ b/res/layout/blocked_number_fragment.xml @@ -52,36 +52,28 @@ - + android:background="@color/background_dialer_white"> - - - + android:layout_height="match_parent" + android:layout_weight="1" + android:drawSelectorOnTop="false" + android:headerDividersEnabled="false" /> - - - - - + - + diff --git a/res/layout/blocked_number_header.xml b/res/layout/blocked_number_header.xml index e16efbcf4..0c8c086e4 100644 --- a/res/layout/blocked_number_header.xml +++ b/res/layout/blocked_number_header.xml @@ -13,7 +13,12 @@ See the License for the specific language governing permissions and limitations under the License. --> - + - + -- cgit v1.2.3