diff options
author | calderwoodra <calderwoodra@google.com> | 2018-04-19 11:50:09 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-04-19 12:25:11 -0700 |
commit | 7c6d4125661f20e9ba57c30b8c6873f4ed4038ba (patch) | |
tree | 80f66b588998c2d6e73c6098d1ac5439c9be2f68 /java/com/android/dialer/speeddial/SpeedDialFragment.java | |
parent | 455f0efd3c2c8ee682c5781fd4f13738f30d034e (diff) |
Implement remember this choice in SpeedDialEntry database.
In order to connect SpeedDialUiItems to the correct SpeedDialEntry in the
database, we need to pipe the entry ID throgh to the UI item. So this
change includes the logic to pipe the id as well.
Bug: 36841782,77760800
Test: DisambigDialogTest
PiperOrigin-RevId: 193550938
Change-Id: I6ec64d0aec7f85d36555707a54953bfdff938bb5
Diffstat (limited to 'java/com/android/dialer/speeddial/SpeedDialFragment.java')
-rw-r--r-- | java/com/android/dialer/speeddial/SpeedDialFragment.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/java/com/android/dialer/speeddial/SpeedDialFragment.java b/java/com/android/dialer/speeddial/SpeedDialFragment.java index 52d7b7fc9..c45ec5856 100644 --- a/java/com/android/dialer/speeddial/SpeedDialFragment.java +++ b/java/com/android/dialer/speeddial/SpeedDialFragment.java @@ -48,7 +48,6 @@ import com.android.dialer.speeddial.draghelper.SpeedDialLayoutManager; import com.android.dialer.speeddial.loader.SpeedDialUiItem; import com.android.dialer.speeddial.loader.UiItemLoaderComponent; import com.google.common.collect.ImmutableList; -import java.util.List; /** * Fragment for displaying: @@ -185,8 +184,8 @@ public class SpeedDialFragment extends Fragment { private final class SpeedDialFavoritesListener implements FavoriteContactsListener { @Override - public void onAmbiguousContactClicked(List<Channel> channels) { - DisambigDialog.show(channels, getChildFragmentManager()); + public void onAmbiguousContactClicked(SpeedDialUiItem speedDialUiItem) { + DisambigDialog.show(speedDialUiItem, getChildFragmentManager()); } @Override |