From 7844b1d11b6f8715ff2782cd3d01a3d1c397f052 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Wed, 21 Oct 2015 00:16:37 -0700 Subject: Disable call blocking after emergency call. Will be disabled for 48 hours after an emergency call. + Add utility for noting last time of an emergency call. + Add utility for comparing current time to last time of an emergency call. + If current time is within 48 hours of emergency call, display text in settings explaining why call blocking is disabled. Bug: 24418319 Change-Id: I6824340f04fae17b73f17843a9f6ef991afa0327 --- res/layout/blocked_number_fragment.xml | 8 -------- res/layout/blocked_number_header.xml | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 8 deletions(-) (limited to 'res/layout') diff --git a/res/layout/blocked_number_fragment.xml b/res/layout/blocked_number_fragment.xml index b98b58fc5..7aff06ec7 100644 --- a/res/layout/blocked_number_fragment.xml +++ b/res/layout/blocked_number_fragment.xml @@ -27,12 +27,4 @@ android:divider="@null" android:headerDividersEnabled="false" /> - - diff --git a/res/layout/blocked_number_header.xml b/res/layout/blocked_number_header.xml index 3fcdf398b..ce1d4feab 100644 --- a/res/layout/blocked_number_header.xml +++ b/res/layout/blocked_number_header.xml @@ -19,6 +19,31 @@ android:layout_height="wrap_content" android:orientation="vertical"> + + + + + + + + +