commit | f764730a34da560db87206f9a48390d4c8085365 | [log] [tgz] |
---|---|---|
author | Paul Soulos <psoulos@google.com> | Tue Aug 26 14:28:57 2014 -0700 |
committer | Paul Soulos <psoulos@google.com> | Tue Aug 26 14:28:57 2014 -0700 |
tree | 68bc7ae33dc95ff15ce8b5f744f21a762f272fbd | |
parent | 48fc91217042fd854f0e96c2028c188e50a5e21d [diff] |
Fixes break from ag/530785 Change-Id: I8d729da69bc0d9ff0cc5e8e5cdb4de013bf00199
diff --git a/src/com/android/contacts/quickcontact/QuickContactActivity.java b/src/com/android/contacts/quickcontact/QuickContactActivity.java index 5964aeb..4d66e37 100644 --- a/src/com/android/contacts/quickcontact/QuickContactActivity.java +++ b/src/com/android/contacts/quickcontact/QuickContactActivity.java
@@ -1288,7 +1288,7 @@ alternateContentDescription = context.getResources().getString(R.string.sms_other); // Add video call button if supported - if (CallUtil.isVideoEnabled()) { + if (CallUtil.isVideoEnabled(context)) { thirdIcon = context.getResources().getDrawable(R.drawable.ic_videocam); thirdIntent = CallUtil.getVideoCallIntent(phone.getNumber(), CALL_ORIGIN_QUICK_CONTACTS_ACTIVITY);