From b980fc4386cdc24a605fc682d0fef0c5dc54c327 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 19 Oct 2015 23:57:25 -0700 Subject: Add setting for hiding blocked calls. + Add settings switch to blocked number settings. + Add utility for checking/setting whether calls should be blocked. + Filter out blocked calls in call log query, if appropriate. + Refresh call log fragment after a change in setting. Followup work: delete voicemails for calls by blocked numbers after the time when the user blocked them. Bug: 24134270 Change-Id: I85088697559ef6fb446b82617f14f1c6fa893df1 --- res/layout/blocked_number_fragment.xml | 30 ++++++++++++++++++++++++++++++ res/layout/blocked_number_header.xml | 6 ++---- 2 files changed, 32 insertions(+), 4 deletions(-) (limited to 'res/layout') diff --git a/res/layout/blocked_number_fragment.xml b/res/layout/blocked_number_fragment.xml index bb4b7f20f..906e8a10c 100644 --- a/res/layout/blocked_number_fragment.xml +++ b/res/layout/blocked_number_fragment.xml @@ -22,6 +22,36 @@ android:paddingTop="?android:attr/actionBarSize" android:background="@color/blocked_number_background"> + + + + + + + + + + + + + android:paddingEnd="@dimen/blocked_number_container_padding" + style="@style/BlockedNumbersDescriptionTextStyle" />