diff options
author | Yorke Lee <yorkelee@google.com> | 2014-07-30 16:37:21 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-07-30 16:37:21 -0700 |
commit | bb19eb2b9e788310c43a1b0ed976460a41e5345c (patch) | |
tree | 698e9b0450e4eb79618fea2964571e4281b425a7 | |
parent | c7db678907ef1ae16aec7e963ef4884a272ab48e (diff) |
Use new undemote API
Change-Id: I92fdc2cc2e988681bfae9089708e67c8fe649a2f
-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) { |