diff options
author | Brandon Maxwell <maxwelb@google.com> | 2016-03-22 17:10:13 -0700 |
---|---|---|
committer | Brandon Maxwell <maxwelb@google.com> | 2016-03-22 17:10:13 -0700 |
commit | 4ddabae31883749c26d200c8f679615a4fced3b9 (patch) | |
tree | 181b2141622c3be3940f0e363525e91a65c92f4c /src | |
parent | 0a9d3be7e92dce46dffeaedb1e6aefc163122bfc (diff) |
Updating blocked number dialog ui
+ Small fix for the blocked number dialog to match mocks. See related
bug.
Change-Id: I3082cb46adb780aaa96e7d3ccd5a19688cc1845c
Fixes: 27703247
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/filterednumber/BlockNumberDialogFragment.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/com/android/dialer/filterednumber/BlockNumberDialogFragment.java b/src/com/android/dialer/filterednumber/BlockNumberDialogFragment.java index ee4c607ac..3c60a967b 100644 --- a/src/com/android/dialer/filterednumber/BlockNumberDialogFragment.java +++ b/src/com/android/dialer/filterednumber/BlockNumberDialogFragment.java @@ -153,11 +153,11 @@ public class BlockNumberDialogFragment extends DialogFragment { String okText; String message; if (isBlocked) { - title = ContactDisplayUtils.getTtsSpannedPhoneNumber(getResources(), - R.string.unblock_number_confirmation_title, - mDisplayNumber); + title = null; okText = getString(R.string.unblock_number_ok); - message = ""; + message = ContactDisplayUtils.getTtsSpannedPhoneNumber(getResources(), + R.string.unblock_number_confirmation_title, + mDisplayNumber).toString(); } else { title = ContactDisplayUtils.getTtsSpannedPhoneNumber(getResources(), R.string.block_number_confirmation_title, |