summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-08-12 15:52:05 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-08-12 15:52:05 -0700
commitbdd2304ad816b7e513fddc2dfd02949d364a7891 (patch)
tree0f8bfb8dd4250edd9330aab662065522574f92fd
parent446b200551cc6bebf32911759204a5d28185acf3 (diff)
parent048da27e0e8cb39300e69a0b7f702e7c84ec3833 (diff)
am 048da27e: am 63ea4cd1: Add onPhoneNumberPickerActionListeners to search fragments
* commit '048da27e0e8cb39300e69a0b7f702e7c84ec3833': Add onPhoneNumberPickerActionListeners to search fragments
-rw-r--r--src/com/android/dialer/DialtactsActivity.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java
index 316465e74..e7a7de90c 100644
--- a/src/com/android/dialer/DialtactsActivity.java
+++ b/src/com/android/dialer/DialtactsActivity.java
@@ -309,8 +309,12 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O
transaction.commit();
} else if (fragment instanceof SmartDialSearchFragment) {
mSmartDialSearchFragment = (SmartDialSearchFragment) fragment;
+ mSmartDialSearchFragment.setOnPhoneNumberPickerActionListener(
+ mPhoneNumberPickerActionListener);
} else if (fragment instanceof SearchFragment) {
mRegularSearchFragment = (SearchFragment) fragment;
+ mRegularSearchFragment.setOnPhoneNumberPickerActionListener(
+ mPhoneNumberPickerActionListener);
} else if (fragment instanceof PhoneFavoriteFragment) {
mPhoneFavoriteFragment = (PhoneFavoriteFragment) fragment;
}