diff options
Diffstat (limited to 'src/com/android/dialer/list/RegularSearchListAdapter.java')
-rw-r--r-- | src/com/android/dialer/list/RegularSearchListAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/list/RegularSearchListAdapter.java b/src/com/android/dialer/list/RegularSearchListAdapter.java index b1223b74f..3ce4bea72 100644 --- a/src/com/android/dialer/list/RegularSearchListAdapter.java +++ b/src/com/android/dialer/list/RegularSearchListAdapter.java @@ -75,7 +75,7 @@ public class RegularSearchListAdapter extends DialerPhoneNumberListAdapter { // Otherwise, it should add it to a new contact as a name. setShortcutEnabled(SHORTCUT_ADD_NUMBER_TO_CONTACTS, showNumberShortcuts); setShortcutEnabled(SHORTCUT_MAKE_VIDEO_CALL, - showNumberShortcuts && CallUtil.isVideoEnabled()); + showNumberShortcuts && CallUtil.isVideoEnabled(getContext())); super.setQueryString(queryString); } } |