summaryrefslogtreecommitdiff
path: root/src/com/android/dialer/CallDetailActivity.java
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2015-11-09 18:38:51 -0800
committerYorke Lee <yorkelee@google.com>2015-11-09 18:38:51 -0800
commit516be4dc3cb7088aa4344938347e18770f6aff67 (patch)
tree7a917e941d1f64effc46f46dc64b6801be03aa70 /src/com/android/dialer/CallDetailActivity.java
parent4aabaacd849235864c16f8e6bc72e0d0412a02e6 (diff)
Fix RTL layout for "Block number" action in Call Details
Use the RTL-adjusted method when assigning the compound drawable to the TextView. Bug: 25513994 Change-Id: I85103fa92fce6798ba049c6393ca692700099efa
Diffstat (limited to 'src/com/android/dialer/CallDetailActivity.java')
-rw-r--r--src/com/android/dialer/CallDetailActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/dialer/CallDetailActivity.java b/src/com/android/dialer/CallDetailActivity.java
index f63fcf3b0..2e2bea8ce 100644
--- a/src/com/android/dialer/CallDetailActivity.java
+++ b/src/com/android/dialer/CallDetailActivity.java
@@ -445,11 +445,11 @@ public class CallDetailActivity extends AppCompatActivity
private void updateBlockActionItem() {
if (mBlockedNumberId == null) {
mBlockNumberActionItem.setText(R.string.action_block_number);
- mBlockNumberActionItem.setCompoundDrawablesWithIntrinsicBounds(
+ mBlockNumberActionItem.setCompoundDrawablesRelativeWithIntrinsicBounds(
R.drawable.ic_call_detail_block, 0, 0, 0);
} else {
mBlockNumberActionItem.setText(R.string.action_unblock_number);
- mBlockNumberActionItem.setCompoundDrawablesWithIntrinsicBounds(
+ mBlockNumberActionItem.setCompoundDrawablesRelativeWithIntrinsicBounds(
R.drawable.ic_call_detail_unblock, 0, 0, 0);
}