diff options
author | Yorke Lee <yorkelee@google.com> | 2014-07-30 23:47:40 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-07-30 23:47:40 +0000 |
commit | f7a0c07a60c4cb8ed93fe8b470995d1d12ceabd6 (patch) | |
tree | 94cfed1c6624038ee3563aa64931f1f09f1d2c66 | |
parent | f22a0f370ac7f3cea9570593effadfb6f421296b (diff) | |
parent | 245f8b33ab2af1f74f6db7c16dfe1cc501897ea5 (diff) |
am 245f8b33: Merge "Use new undemote API" into lmp-dev
* commit '245f8b33ab2af1f74f6db7c16dfe1cc501897ea5':
Use new undemote API
-rw-r--r-- | src/com/android/dialer/interactions/UndemoteOutgoingCallReceiver.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/dialer/interactions/UndemoteOutgoingCallReceiver.java b/src/com/android/dialer/interactions/UndemoteOutgoingCallReceiver.java index 2a686c78d..6d74cd0f7 100644 --- a/src/com/android/dialer/interactions/UndemoteOutgoingCallReceiver.java +++ b/src/com/android/dialer/interactions/UndemoteOutgoingCallReceiver.java @@ -59,8 +59,7 @@ public class UndemoteOutgoingCallReceiver extends BroadcastReceiver { // If the contact is not demoted, this will not do anything. Otherwise, it will // restore it to an unpinned position. If it was a frequently called contact, it will // show up once again show up on the favorites screen. - context.getContentResolver().call(ContactsContract.AUTHORITY_URI, - PinnedPositions.UNDEMOTE_METHOD, String.valueOf(id), null); + PinnedPositions.undemote(context.getContentResolver(), id); } private long getContactIdFromPhoneNumber(Context context, String number) { |