Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02076065 authored by Ihab Awad's avatar Ihab Awad
Browse files

Announce incoming calls in all cases

Bug: 18797453
Change-Id: I81d75a145db9303cd77cb0bc14abaed788f0c5b8
parent b16bc3bb
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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