diff options
author | linyuh <linyuh@google.com> | 2018-03-29 10:10:48 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-29 11:25:46 -0700 |
commit | 756f013f4797403347ae43a5ab60e8b9e884f124 (patch) | |
tree | 3f069e9df345e44ecef8b48f939a52f51393bb9a /java/com/android/dialer/voicemail/listui/menu/NewVoicemailMenu.java | |
parent | e7d6381c9cafa809da51a0fe3f567773b6c73614 (diff) |
Badge contact photos for video calls in the bottom sheet.
Bug: 70988682
Test: Existing tests
PiperOrigin-RevId: 190946639
Change-Id: Iaa8294e8ba6e85ab3c27bb2e67200d7972a240f2
Diffstat (limited to 'java/com/android/dialer/voicemail/listui/menu/NewVoicemailMenu.java')
-rw-r--r-- | java/com/android/dialer/voicemail/listui/menu/NewVoicemailMenu.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/java/com/android/dialer/voicemail/listui/menu/NewVoicemailMenu.java b/java/com/android/dialer/voicemail/listui/menu/NewVoicemailMenu.java index 7ec86c5b9..60080598d 100644 --- a/java/com/android/dialer/voicemail/listui/menu/NewVoicemailMenu.java +++ b/java/com/android/dialer/voicemail/listui/menu/NewVoicemailMenu.java @@ -18,7 +18,6 @@ package com.android.dialer.voicemail.listui.menu; import android.content.Context; import android.view.View; -import com.android.dialer.glidephotomanager.GlidePhotoManager; import com.android.dialer.historyitemactions.HistoryItemActionBottomSheet; import com.android.dialer.voicemail.model.VoicemailEntry; @@ -27,12 +26,11 @@ public final class NewVoicemailMenu { /** Creates and returns the OnClickListener which opens the menu for the provided row. */ public static View.OnClickListener createOnClickListener( - Context context, VoicemailEntry voicemailEntry, GlidePhotoManager glidePhotoManager) { + Context context, VoicemailEntry voicemailEntry) { return (view) -> HistoryItemActionBottomSheet.show( context, BottomSheetHeader.fromVoicemailEntry(voicemailEntry), - Modules.fromVoicemailEntry(context, voicemailEntry), - glidePhotoManager); + Modules.fromVoicemailEntry(context, voicemailEntry)); } } |