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 /src/com/android/dialer/calllog/VoicemailQueryHandler.java | |
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 'src/com/android/dialer/calllog/VoicemailQueryHandler.java')
-rw-r--r-- | src/com/android/dialer/calllog/VoicemailQueryHandler.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/dialer/calllog/VoicemailQueryHandler.java b/src/com/android/dialer/calllog/VoicemailQueryHandler.java index 26f9bd172..c6e644c32 100644 --- a/src/com/android/dialer/calllog/VoicemailQueryHandler.java +++ b/src/com/android/dialer/calllog/VoicemailQueryHandler.java @@ -59,7 +59,8 @@ public class VoicemailQueryHandler extends AsyncQueryHandler { if (token == UPDATE_MARK_VOICEMAILS_AS_OLD_TOKEN) { if (mContext != null) { Intent serviceIntent = new Intent(mContext, CallLogNotificationsService.class); - serviceIntent.setAction(CallLogNotificationsService.ACTION_UPDATE_NOTIFICATIONS); + serviceIntent.setAction( + CallLogNotificationsService.ACTION_UPDATE_VOICEMAIL_NOTIFICATIONS); mContext.startService(serviceIntent); } else { Log.w(TAG, "Unknown update completed: ignoring: " + token); |