diff options
author | Yorke Lee <yorkelee@google.com> | 2013-09-30 14:21:06 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-09-30 14:21:07 +0000 |
commit | 095f112b1bd44ac6d1d2fd80b515a76ea40ca586 (patch) | |
tree | 25934f07b00ac4988e557a8f85d9026bdd58a63a | |
parent | c089b0d2b1bf1bd511cd54dc51d9186b6ce41681 (diff) | |
parent | 62fc6bb4eb37bdec85f7835224e6ca7384dff5a3 (diff) |
Merge "Fix incorrect photouri on call shortcut" into klp-dev
-rw-r--r-- | src/com/android/dialer/calllog/CallLogAdapter.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/com/android/dialer/calllog/CallLogAdapter.java b/src/com/android/dialer/calllog/CallLogAdapter.java index 86540efbb..4bc1787e5 100644 --- a/src/com/android/dialer/calllog/CallLogAdapter.java +++ b/src/com/android/dialer/calllog/CallLogAdapter.java @@ -190,7 +190,6 @@ public class CallLogAdapter extends GroupingListAdapter private boolean mIsCallLog = true; private int mNumMissedCalls = 0; private int mNumMissedCallsShown = 0; - private Uri mCurrentPhotoUri; private View mBadgeContainer; private ImageView mBadgeImageView; @@ -846,19 +845,11 @@ public class CallLogAdapter extends GroupingListAdapter } private void setPhoto(CallLogListItemViews views, long photoId, Uri contactUri) { - mCurrentPhotoUri = null; views.quickContactView.assignContactUri(contactUri); mContactPhotoManager.loadThumbnail(views.quickContactView, photoId, false /* darkTheme */); } private void setPhoto(CallLogListItemViews views, Uri photoUri, Uri contactUri) { - if (photoUri.equals(mCurrentPhotoUri)) { - // photo manager will perform a fade in transition. To avoid flicker, do not set the - // same photo multiple times. - return; - } - - mCurrentPhotoUri = photoUri; views.quickContactView.assignContactUri(contactUri); mContactPhotoManager.loadDirectoryPhoto(views.quickContactView, photoUri, false /* darkTheme */); |