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

Commit 6bb619df authored by Tingting Wang's avatar Tingting Wang
Browse files

Fix bug on displaying phone number in RTL languages.

BUG 19209562

Change-Id: Ib1e19674f95e5fb3fb9549cb7cdb1c332bbe4bbb
parent 8cbcade0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1224,6 +1224,7 @@ public class ContactListItemView extends ViewGroup

        if (ContactDisplayUtils.isPossiblePhoneNumber(name)) {
            // Give the text-to-speech engine a hint that it's a phone number
            mNameTextView.setTextDirection(View.TEXT_DIRECTION_LTR);
            mNameTextView.setContentDescription(
                    PhoneNumberUtils.createTtsSpannable(name.toString()));
        } else {