From 9155416b1679a84b184959ce83c81d42d2dc7380 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 27 Oct 2015 17:31:31 -0700 Subject: Notify for call blocking disabled by E911. + Add method and listener to FilteredNumberAsyncQueryHandler to query for whether there are any blocked numbers. + Added utility function for showing a notification, which points to the blocked numbers setting screen. This notification will only be shown if the user has blocked numbers. + Add a boolean flag to track whether we have shown this notification after an emergency call. This is to address the (edge) case where the user makes an emergency call when they have not blocked any numbers, but then later blocks a number. + Added strings for notification. Bug: 25327365 Change-Id: I3179f3884271ea0a504ef8c9a61bf9dfbd18ef10 --- res/values/strings.xml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'res') diff --git a/res/values/strings.xml b/res/values/strings.xml index b5703c6bf..f74d2ea0f 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -883,12 +883,6 @@ Block list - - Checking - %1$s - - %1$s @@ -899,6 +893,19 @@ %1$s is already blocked. + + + Call blocking disabled for 48 hours + + + + + Disabled because an emergency call was made. + + Calling accounts -- cgit v1.2.3