diff options
Diffstat (limited to 'InCallUI/src')
-rw-r--r-- | InCallUI/src/com/android/incallui/CallCardPresenter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/InCallUI/src/com/android/incallui/CallCardPresenter.java b/InCallUI/src/com/android/incallui/CallCardPresenter.java index e5adbf8e7..5cbffa628 100644 --- a/InCallUI/src/com/android/incallui/CallCardPresenter.java +++ b/InCallUI/src/com/android/incallui/CallCardPresenter.java @@ -698,8 +698,8 @@ public class CallCardPresenter extends Presenter<CallCardPresenter.CallCardUi> private Drawable getCallStateIcon() { // Return connection icon if one exists. StatusHints statusHints = mPrimary.getTelecommCall().getDetails().getStatusHints(); - if (statusHints != null && statusHints.getIconResId() != 0) { - Drawable icon = statusHints.getIcon(mContext); + if (statusHints != null && statusHints.getIcon() != null) { + Drawable icon = statusHints.getIcon().loadDrawable(mContext); if (icon != null) { return icon; } |