diff options
author | Nancy Chen <nancychen@google.com> | 2016-01-26 14:38:57 -0800 |
---|---|---|
committer | Nancy Chen <nancychen@google.com> | 2016-01-27 16:50:10 -0800 |
commit | cc42b5953588110cc89b43e72d2b6579757017a1 (patch) | |
tree | cbdf42c09424fc8d149dce1ac7e7a461b127ab0f /res | |
parent | e96b82ccd6936d2f0786d3ae0740efdd2e60e7b4 (diff) |
Display missed call notifications in Dialer.
Dialer is now putting up the missed call notification instead of
Telecom. As a result, it has to handle receiving a new missed call
broadcast and sending requests back to Telecom to update the missed call
count.
+ MissedCallNotifier class displays notifications and triggers call back
sms, and dismiss intents.
+ CallLogNotificationsService added actions it can handle for missed
calls.
+ MissedCallNotificationReceiver receives the missed call intent to update
the notifications.
Bug: 22857261
Change-Id: I03a3c3b5a2533a3ea26d668124fcaf3fa72347fc
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable-hdpi/ic_phone_24dp.png | bin | 0 -> 347 bytes | |||
-rw-r--r-- | res/drawable-mdpi/ic_phone_24dp.png | bin | 0 -> 262 bytes | |||
-rw-r--r-- | res/drawable-xhdpi/ic_phone_24dp.png | bin | 0 -> 439 bytes | |||
-rw-r--r-- | res/drawable-xxhdpi/ic_phone_24dp.png | bin | 0 -> 619 bytes | |||
-rw-r--r-- | res/drawable-xxxhdpi/ic_phone_24dp.png | bin | 0 -> 837 bytes | |||
-rw-r--r-- | res/values/strings.xml | 22 |
6 files changed, 22 insertions, 0 deletions
diff --git a/res/drawable-hdpi/ic_phone_24dp.png b/res/drawable-hdpi/ic_phone_24dp.png Binary files differnew file mode 100644 index 000000000..b27dfba06 --- /dev/null +++ b/res/drawable-hdpi/ic_phone_24dp.png diff --git a/res/drawable-mdpi/ic_phone_24dp.png b/res/drawable-mdpi/ic_phone_24dp.png Binary files differnew file mode 100644 index 000000000..c1766b854 --- /dev/null +++ b/res/drawable-mdpi/ic_phone_24dp.png diff --git a/res/drawable-xhdpi/ic_phone_24dp.png b/res/drawable-xhdpi/ic_phone_24dp.png Binary files differnew file mode 100644 index 000000000..83167f4cd --- /dev/null +++ b/res/drawable-xhdpi/ic_phone_24dp.png diff --git a/res/drawable-xxhdpi/ic_phone_24dp.png b/res/drawable-xxhdpi/ic_phone_24dp.png Binary files differnew file mode 100644 index 000000000..8fff728bb --- /dev/null +++ b/res/drawable-xxhdpi/ic_phone_24dp.png diff --git a/res/drawable-xxxhdpi/ic_phone_24dp.png b/res/drawable-xxxhdpi/ic_phone_24dp.png Binary files differnew file mode 100644 index 000000000..30d141db5 --- /dev/null +++ b/res/drawable-xxxhdpi/ic_phone_24dp.png diff --git a/res/values/strings.xml b/res/values/strings.xml index 2838e6816..7e87b2fb0 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -99,6 +99,28 @@ <!-- Title of the "Clearing call log" progress-dialog [CHAR LIMIT=35] --> <string name="clearCallLogProgress_title">Clearing call history\u2026</string> + <!-- Title used for the activity for placing a call. This name appears + in activity disambig dialogs --> + <string name="userCallActivityLabel" product="default">Phone</string> + + <!-- Notification strings --> + <!-- Missed call notification label, used when there's exactly one missed call --> + <string name="notification_missedCallTitle">Missed call</string> + <!-- Missed call notification label, used when there are two or more missed calls --> + <string name="notification_missedCallsTitle">Missed calls</string> + <!-- Missed call notification message used when there are multiple missed calls --> + <string name="notification_missedCallsMsg"><xliff:g id="num_missed_calls">%s</xliff:g> missed calls</string> + <!-- Message for "call back" Action, which is displayed in the missed call notificaiton. + The user will be able to call back to the person or the phone number. + [CHAR LIMIT=18] --> + <string name="notification_missedCall_call_back">Call back</string> + <!-- Message for "reply via sms" action, which is displayed in the missed call notification. + The user will be able to send text messages using the phone number. + [CHAR LIMIT=18] --> + <string name="notification_missedCall_message">Message</string> + <!-- DO NOT TRANSLATE. Hardcoded number used for restricted incoming phone numbers. --> + <string name="handle_restricted">RESTRICTED</string> + <!-- Title of the notification of new voicemails. [CHAR LIMIT=30] --> <plurals name="notification_voicemail_title"> <item quantity="one">Voicemail</item> |