summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--InCallUI/src/com/android/incallui/CallCardFragment.java9
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