diff options
author | Yorke Lee <yorkelee@google.com> | 2014-07-30 23:58:09 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-07-30 23:58:09 +0000 |
commit | 864522bf660cb7bb81b771bf864f10043825bbff (patch) | |
tree | 9ff0b5f013cf6b1a844b35995b6c24af8c3c68de | |
parent | 9cbb1b527937e8892095fd5b727eaa13a0129b5a (diff) | |
parent | cadcbbf474fafe581474252bc0bac1e6d923de7f (diff) |
am cadcbbf4: am f7a0c07a: am 245f8b33: Merge "Use new undemote API" into lmp-dev
* commit 'cadcbbf474fafe581474252bc0bac1e6d923de7f':
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) { |