diff options
author | Ihab Awad <ihab@google.com> | 2014-12-18 21:20:19 -0800 |
---|---|---|
committer | Ihab Awad <ihab@google.com> | 2014-12-22 13:50:43 -0800 |
commit | 020760658a78fcef65aaf9ed6f80d6117b2795a7 (patch) | |
tree | ea2d81fc052884afa3e3ce9a3e2c9a2c3d223e33 | |
parent | b16bc3bb33bb17e0b05e82f085ba4df405d5e201 (diff) |
Announce incoming calls in all cases
Bug: 18797453
Change-Id: I81d75a145db9303cd77cb0bc14abaed788f0c5b8
-rw-r--r-- | InCallUI/src/com/android/incallui/CallCardFragment.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/InCallUI/src/com/android/incallui/CallCardFragment.java b/InCallUI/src/com/android/incallui/CallCardFragment.java index c70bd6ed6..41dba646e 100644 --- a/InCallUI/src/com/android/incallui/CallCardFragment.java +++ b/InCallUI/src/com/android/incallui/CallCardFragment.java @@ -555,6 +555,15 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr } else { mCallStateVideoCallIcon.setVisibility(View.GONE); } + + if (state == Call.State.INCOMING) { + if (callStateLabel != null) { + getView().announceForAccessibility(callStateLabel); + } + if (mPrimaryName.getText() != null) { + getView().announceForAccessibility(mPrimaryName.getText()); + } + } } @Override |