summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorYiqun Wu <yiqunw@google.com>2019-05-21 00:05:31 -0700
committerYiqun Wu <yiqunw@google.com>2019-06-01 04:15:46 +0000
commitea074a2f527d4b9b3b5fd5ceafadba83c8b8ef13 (patch)
tree5e8b825e7313c91b14826e2c576ae7fe137343a2 /res
parentb6e412c3f6ecc564e53f8016cac1d6b2d7ea50cf (diff)
downloadplatform_packages_apps_Car_Dialer-ea074a2f527d4b9b3b5fd5ceafadba83c8b8ef13.tar.gz
platform_packages_apps_Car_Dialer-ea074a2f527d4b9b3b5fd5ceafadba83c8b8ef13.tar.bz2
platform_packages_apps_Car_Dialer-ea074a2f527d4b9b3b5fd5ceafadba83c8b8ef13.zip
Support missed call notification.
1. Create a receiver that handles android.telecom.action.SHOW_MISSED_CALLS_NOTIFICATION to suppress the missed call notification from telecom stack. 2. Create NotificationService which will handle all notification actions in background(mostly because marking missed call as read writes the contacts provider) 3. Create MissedCallNotificationController to manage all missed call notification 4. Create NewMissedCallLiveData to monitor missed calls. Test: manually Bug: 132727972 Change-Id: Ibaa7d24c7050fd70fc93b24f0d0e14fd0b419b30
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 10537dc1..aff6b661 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -51,6 +51,10 @@
<string name="decline_call">Decline</string>
<!-- Answer an in coming call [CHAR LIMIT=20] -->
<string name="answer_call">Answer</string>
+ <!-- Call back a missed call [CHAR LIMIT=20] -->
+ <string name="call_back">Call back</string>
+ <!-- Send a message to a missed call [CHAR LIMIT=20] -->
+ <string name="message">Message</string>
<!-- Label for when a call is a conference call [CHAR LIMIT=30] -->
<string name="conference_call">Conference call</string>
@@ -142,10 +146,14 @@
</string>
<!-- Heads Up Notification -->
- <!-- Name of notification channel in app info [CHAR LIMIT=50] -->
+ <!-- Name of incoming call notification channel in app info [CHAR LIMIT=50] -->
<string name="in_call_notification_channel_name">Incoming call notification</string>
<!-- Text for incoming call notification [CHAR LIMIT=40]-->
<string name="notification_incoming_call">Incoming call</string>
+ <!-- Name of missed call notification channel in app info [CHAR LIMIT=50] -->
+ <string name="missed_call_notification_channel_name">Missed call notification</string>
+ <!-- Title for missed call notification [CHAR LIMIT=40]-->
+ <string name="notification_missed_call">Missed call</string>
<!-- Dialer Setting -->
<!-- Title of the settings page [CHAR LIMIT=30]-->