From bd4440be6e5e8ea2c01c1e3c6c1d0e3c9344a6bd Mon Sep 17 00:00:00 2001 From: Ihab Awad Date: Mon, 1 Dec 2014 14:23:27 -0800 Subject: Fix build breakage due to http://ag/587241 Change-Id: I62a93662730afb8f8a5f75417549c8bb7d50cc78 --- InCallUI/src/com/android/incallui/StatusBarNotifier.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/InCallUI/src/com/android/incallui/StatusBarNotifier.java b/InCallUI/src/com/android/incallui/StatusBarNotifier.java index 4737c8fe8..a0eddcc57 100644 --- a/InCallUI/src/com/android/incallui/StatusBarNotifier.java +++ b/InCallUI/src/com/android/incallui/StatusBarNotifier.java @@ -31,7 +31,6 @@ import android.graphics.drawable.BitmapDrawable; import android.os.Handler; import android.os.Message; import android.telecom.PhoneAccount; -import android.telecom.PhoneCapabilities; import android.text.TextUtils; import com.android.contacts.common.util.BitmapUtil; @@ -383,7 +382,8 @@ public class StatusBarNotifier implements InCallPresenter.InCallStateListener { * Returns the main string to use in the notification. */ private String getContentTitle(ContactCacheEntry contactInfo, Call call) { - if (call.isConferenceCall() && !call.can(PhoneCapabilities.GENERIC_CONFERENCE)) { + if (call.isConferenceCall() + && !call.can(android.telecom.Call.Details.CAPABILITY_GENERIC_CONFERENCE)) { return mContext.getResources().getString(R.string.card_title_conf_call); } if (TextUtils.isEmpty(contactInfo.name)) { @@ -408,7 +408,8 @@ public class StatusBarNotifier implements InCallPresenter.InCallStateListener { */ private Bitmap getLargeIconToDisplay(ContactCacheEntry contactInfo, Call call) { Bitmap largeIcon = null; - if (call.isConferenceCall() && !call.can(PhoneCapabilities.GENERIC_CONFERENCE)) { + if (call.isConferenceCall() + && !call.can(android.telecom.Call.Details.CAPABILITY_GENERIC_CONFERENCE)) { largeIcon = BitmapFactory.decodeResource(mContext.getResources(), R.drawable.img_conference); } -- cgit v1.2.3