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/ContactInfoHelper.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/ContactInfoHelper.java')
-rw-r--r-- | src/com/android/dialer/calllog/ContactInfoHelper.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/com/android/dialer/calllog/ContactInfoHelper.java b/src/com/android/dialer/calllog/ContactInfoHelper.java index e075b9bf3..7f08fdc18 100644 --- a/src/com/android/dialer/calllog/ContactInfoHelper.java +++ b/src/com/android/dialer/calllog/ContactInfoHelper.java @@ -19,7 +19,6 @@ import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteFullException; import android.net.Uri; -import android.os.Build; import android.provider.CallLog.Calls; import android.provider.ContactsContract; import android.provider.ContactsContract.CommonDataKinds.Phone; @@ -32,7 +31,6 @@ import android.text.TextUtils; import android.util.Log; import com.android.contacts.common.ContactsUtils; -import com.android.contacts.common.compat.ContactsCompat; import com.android.contacts.common.util.Constants; import com.android.contacts.common.util.PermissionsUtil; import com.android.contacts.common.util.PhoneNumberHelper; @@ -42,7 +40,6 @@ import com.android.dialer.service.CachedNumberLookupService; import com.android.dialer.service.CachedNumberLookupService.CachedContactInfo; import com.android.dialer.util.TelecomUtil; import com.android.dialerbind.ObjectFactory; -import com.android.incallui.CallerInfo; import org.json.JSONException; import org.json.JSONObject; |