diff options
author | Andrew Lee <anwlee@google.com> | 2015-10-20 17:41:11 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-10-20 17:41:11 +0000 |
commit | 82f65c1b2d6aa6a8e6b84cf8ce54b12b4149eecd (patch) | |
tree | b29ff0f547b14f58f198df50892ff2f52ec4ddab /src | |
parent | ef7070f1454d88ca05987870ba639256b19f3b08 (diff) | |
parent | a6732f7dd28e56fcc075f6d405ff2dada0a83cea (diff) |
Merge "Show unblock icon for blocked numbers." into ub-contactsdialer-a-dev
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/CallDetailActivity.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/dialer/CallDetailActivity.java b/src/com/android/dialer/CallDetailActivity.java index ef219800f..284a5785e 100644 --- a/src/com/android/dialer/CallDetailActivity.java +++ b/src/com/android/dialer/CallDetailActivity.java @@ -455,8 +455,12 @@ public class CallDetailActivity extends AppCompatActivity private void updateBlockActionItem() { if (mBlockedNumberId == null) { mBlockNumberActionItem.setText(R.string.action_block_number); + mBlockNumberActionItem.setCompoundDrawablesWithIntrinsicBounds( + R.drawable.ic_call_detail_block, 0, 0, 0); } else { mBlockNumberActionItem.setText(R.string.action_unblock_number); + mBlockNumberActionItem.setCompoundDrawablesWithIntrinsicBounds( + R.drawable.ic_call_detail_unblock, 0, 0, 0); } mBlockNumberActionItem.setVisibility(View.VISIBLE); |