diff options
author | Andrew Lee <anwlee@google.com> | 2015-05-08 19:40:59 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-05-08 19:40:59 +0000 |
commit | 75896eb05468b9eca3f229fe798e0a0846d84d98 (patch) | |
tree | 0e0bc2fd3c7161f1f93142e98cccb10c4c88bf68 /src | |
parent | c58b32fc346edeed927e4980941be22031b428fa (diff) | |
parent | 0451f9a70032a866140d5caa6aa6303062774d3e (diff) |
am 0451f9a7: Improve talkback on call log actions.
* commit '0451f9a70032a866140d5caa6aa6303062774d3e':
Improve talkback on call log actions.
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/calllog/CallLogListItemHelper.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/com/android/dialer/calllog/CallLogListItemHelper.java b/src/com/android/dialer/calllog/CallLogListItemHelper.java index 0e94ef402..7ec6752e4 100644 --- a/src/com/android/dialer/calllog/CallLogListItemHelper.java +++ b/src/com/android/dialer/calllog/CallLogListItemHelper.java @@ -99,9 +99,23 @@ import com.android.dialer.R; TextUtils.expandTemplate( mResources.getString(R.string.description_voicemail_action), nameOrNumber)); + views.createNewContactButtonView.setContentDescription( + TextUtils.expandTemplate( + mResources.getString(R.string.description_create_new_contact_action), + nameOrNumber)); + + views.addToExistingContactButtonView.setContentDescription( + TextUtils.expandTemplate( + mResources.getString(R.string.description_add_to_existing_contact_action), + nameOrNumber)); + views.detailsButtonView.setContentDescription( TextUtils.expandTemplate( mResources.getString(R.string.description_details_action), nameOrNumber)); + + views.reportButtonView.setContentDescription( + TextUtils.expandTemplate( + mResources.getString(R.string.description_report_action), nameOrNumber)); } /** |