diff options
author | Brandon Maxwell <maxwelb@google.com> | 2016-03-23 00:22:03 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-03-23 00:22:03 +0000 |
commit | 1d57c63c9a4079460098bb04b7910d93e089e86f (patch) | |
tree | ee49e46e39a1f6f8e526b8f7c08f68f5695d7351 /src/com/android | |
parent | 3d1b79090584aa90881fbdd43fe8278c1e2639f7 (diff) | |
parent | 4ddabae31883749c26d200c8f679615a4fced3b9 (diff) |
Updating blocked number dialog ui
am: 4ddabae
* commit '4ddabae31883749c26d200c8f679615a4fced3b9':
Updating blocked number dialog ui
Diffstat (limited to 'src/com/android')
-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, |