summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-09-29 15:39:02 -0700
committerYorke Lee <yorkelee@google.com>2013-09-29 15:39:02 -0700
commit62fc6bb4eb37bdec85f7835224e6ca7384dff5a3 (patch)
tree2cfa135cceabd1ef3adbf6942709f77837efc30f /src
parent990c95f104c01a2f3417e48ac51b58d989d0f21b (diff)
Fix incorrect photouri on call shortcut
Bug: 10972458 Change-Id: Ibae824d24f72255f7d2e4c3dfa6f38f001f56f76
Diffstat (limited to 'src')
-rw-r--r--src/com/android/dialer/calllog/CallLogAdapter.java9
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 */);