summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-04-30 19:02:07 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-04-30 19:02:07 +0000
commit1ecd74439787126dcc87178fe0179057bed5b35d (patch)
tree091b06191e96a00adf7f0b40277d7db1ae53fc79
parent197af09e7c3b5369a42eec0bb031ee2d658a6e49 (diff)
parent04e585d965c0695cf2c9c6ba1a667ac7e9222172 (diff)
Merge "Disable Add to contact shortcut in SmartDialListFragment"
-rw-r--r--src/com/android/dialer/list/SmartDialSearchFragment.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/dialer/list/SmartDialSearchFragment.java b/src/com/android/dialer/list/SmartDialSearchFragment.java
index 0efe9186b..4f0ce7216 100644
--- a/src/com/android/dialer/list/SmartDialSearchFragment.java
+++ b/src/com/android/dialer/list/SmartDialSearchFragment.java
@@ -41,6 +41,8 @@ public class SmartDialSearchFragment extends SearchFragment {
// Disable the direct call shortcut for the smart dial fragment, since the call button
// will already be showing anyway.
adapter.setShortcutEnabled(SmartDialNumberListAdapter.SHORTCUT_DIRECT_CALL, false);
+ adapter.setShortcutEnabled(SmartDialNumberListAdapter.SHORTCUT_ADD_NUMBER_TO_CONTACTS,
+ false);
return adapter;
}