diff options
author | Richard MacGregor <rmacgregor@cyngn.com> | 2016-03-08 11:16:08 -0800 |
---|---|---|
committer | Richard MacGregor <rmacgregor@cyngn.com> | 2016-04-08 10:42:51 -0700 |
commit | f8e338ee9809ef121c156e6c1fa5241acdbf9e2f (patch) | |
tree | bac6474f026922187272e86d41ad434b86dc931a | |
parent | 5176f88267242304ffb610bb4ccd8f168fe31534 (diff) | |
download | packages_apps_PhoneCommon-f8e338ee9809ef121c156e6c1fa5241acdbf9e2f.tar.gz packages_apps_PhoneCommon-f8e338ee9809ef121c156e6c1fa5241acdbf9e2f.tar.bz2 packages_apps_PhoneCommon-f8e338ee9809ef121c156e6c1fa5241acdbf9e2f.zip |
Use BrandIcon instead of BadgeIcon
BadgeIcon is meant for attribution, and may look different than the
full BrandIcon
Change-Id: Ia35fdb11bf9e59547ddc5fbf810f688810c000f0
-rw-r--r-- | src-ambient/incall/CallMethodSpinnerAdapter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-ambient/incall/CallMethodSpinnerAdapter.java b/src-ambient/incall/CallMethodSpinnerAdapter.java index 62777b3..2a6f387 100644 --- a/src-ambient/incall/CallMethodSpinnerAdapter.java +++ b/src-ambient/incall/CallMethodSpinnerAdapter.java @@ -155,8 +155,8 @@ public class CallMethodSpinnerAdapter extends ArrayAdapter<CallMethodInfo> private void setIcon(View convertView, CallMethodInfo callMethodInfo) { ImageView icon = (ImageView) convertView.findViewById(R.id.call_method_spinner_item_image); - if (callMethodInfo.mBadgeIcon != null) { - icon.setImageDrawable(callMethodInfo.mBadgeIcon); + if (callMethodInfo.mBrandIcon != null) { + icon.setImageDrawable(callMethodInfo.mBrandIcon); icon.getDrawable().setTintList(null); icon.setBackground(null); } else { |