summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2015-11-10 02:47:59 +0000
committerandroid-build-merger <android-build-merger@google.com>2015-11-10 02:47:59 +0000
commit6bf4f2787c2babf5825d6f204a078b4c28e1e205 (patch)
treef278a3ffb99414af1ac542dcb634acbfad3fb670
parent738988dc5550bf6813b041ade37723a50c95d91a (diff)
parent6752a2ffb4322c1136cd1560075259ab5884b37c (diff)
Merge "Fix RTL layout for "Block number" action in Call Details" into ub-contactsdialer-a-dev
am: 6752a2ffb4 * commit '6752a2ffb4322c1136cd1560075259ab5884b37c': Fix RTL layout for "Block number" action in Call Details
-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);
}