diff options
author | Yorke Lee <yorkelee@google.com> | 2014-07-30 23:41:34 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-07-25 23:00:08 +0000 |
commit | 245f8b33ab2af1f74f6db7c16dfe1cc501897ea5 (patch) | |
tree | 1c8a0d2237e4261076a6e9da9904ae905a501a6f | |
parent | b9a993620434e0e407ef7bc52f3712e611919f18 (diff) | |
parent | bb19eb2b9e788310c43a1b0ed976460a41e5345c (diff) |
Merge "Use new undemote API" into lmp-dev
-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) { |