diff options
author | Yorke Lee <yorkelee@google.com> | 2014-04-29 19:01:28 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-04-29 19:01:28 -0700 |
commit | 04e585d965c0695cf2c9c6ba1a667ac7e9222172 (patch) | |
tree | 020397e34f5d32c84b78b02f00db7eb2b7ebb7b2 | |
parent | 87cf81d2608fd4fa7b3e254c6ea1b509ff5bcc54 (diff) |
Disable Add to contact shortcut in SmartDialListFragment
Bug: 14324064
Change-Id: Ic477211aae2270b0afa3698a33c4fbe162b0f536
-rw-r--r-- | src/com/android/dialer/list/SmartDialSearchFragment.java | 2 |
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; } |