diff options
author | Ihab Awad <ihab@google.com> | 2014-12-01 19:47:24 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-12-01 19:47:24 +0000 |
commit | 193c7f9b94efb207d8104abdfa81e99576f16b52 (patch) | |
tree | 9b47b3a874c0c2848aaecf33614be35ea83eb878 | |
parent | eaf7d3bdf1d7b94f3181dfe72ac701d7887c17ad (diff) | |
parent | 3509eeca95180fbbef12a4d7ad5b51abd2a9c48d (diff) |
am 3509eeca: am 565e33c6: Merge "Telecom API updates (2/6)" into lmp-mr1-dev
* commit '3509eeca95180fbbef12a4d7ad5b51abd2a9c48d':
Telecom API updates (2/6)
-rw-r--r-- | src/com/android/dialer/PhoneCallDetailsHelper.java | 2 | ||||
-rw-r--r-- | src/com/android/dialer/calllog/PhoneAccountUtils.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/dialer/PhoneCallDetailsHelper.java b/src/com/android/dialer/PhoneCallDetailsHelper.java index 2e1651a70..b4e817174 100644 --- a/src/com/android/dialer/PhoneCallDetailsHelper.java +++ b/src/com/android/dialer/PhoneCallDetailsHelper.java @@ -115,7 +115,7 @@ public class PhoneCallDetailsHelper { views.callAccountLabel.setVisibility(View.VISIBLE); views.callAccountLabel.setText(accountLabel); int color = PhoneAccountUtils.getAccountColor(mContext, details.accountHandle); - if (color == PhoneAccount.NO_COLOR) { + if (color == PhoneAccount.NO_HIGHLIGHT_COLOR) { int defaultColor = R.color.dialtacts_secondary_text_color; views.callAccountLabel.setTextColor(mContext.getResources().getColor(defaultColor)); } else { diff --git a/src/com/android/dialer/calllog/PhoneAccountUtils.java b/src/com/android/dialer/calllog/PhoneAccountUtils.java index 2eaf94937..3979a3e5e 100644 --- a/src/com/android/dialer/calllog/PhoneAccountUtils.java +++ b/src/com/android/dialer/calllog/PhoneAccountUtils.java @@ -73,7 +73,7 @@ public class PhoneAccountUtils { */ public static int getAccountColor(Context context, PhoneAccountHandle accountHandle) { PhoneAccount account = getAccountOrNull(context, accountHandle); - return account == null ? PhoneAccount.NO_COLOR : account.getHighlightColor(); + return account == null ? PhoneAccount.NO_HIGHLIGHT_COLOR : account.getHighlightColor(); } /** |