diff options
Diffstat (limited to 'InCallUI/src/com/android')
-rw-r--r-- | InCallUI/src/com/android/incallui/CallButtonFragment.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/InCallUI/src/com/android/incallui/CallButtonFragment.java b/InCallUI/src/com/android/incallui/CallButtonFragment.java index 9859f4e7b..5a25b6a7b 100644 --- a/InCallUI/src/com/android/incallui/CallButtonFragment.java +++ b/InCallUI/src/com/android/incallui/CallButtonFragment.java @@ -433,6 +433,9 @@ public class CallButtonFragment public void setMute(boolean value) { if (mMuteButton.isSelected() != value) { mMuteButton.setSelected(value); + mMuteButton.setContentDescription(getContext().getString( + value ? R.string.onscreenMuteText_selected + : R.string.onscreenMuteText_unselected)); } } @@ -789,6 +792,9 @@ public class CallButtonFragment boolean changed = ((InCallActivity) getActivity()).showDialpadFragment(value, animate); if (changed) { mShowDialpadButton.setSelected(value); + mShowDialpadButton.setContentDescription(getContext().getString( + value /* show */ ? R.string.onscreenShowDialpadText_unselected + : R.string.onscreenShowDialpadText_selected)); } } } |