diff options
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); |