summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/i18n
AgeCommit message (Collapse)Author
2018-06-01Simplify & improve DialerBidiFormatterlinyuh
Bug: 72162627,78464687 Test: DialerBidiFormatterTest + Manual testing PiperOrigin-RevId: 198950604 Change-Id: Ia3d4d29b7c6a96a7facfeb5c41b17a6e7cabebf2
2018-06-01Solve BiDi problem when phone number is concatenated with RTL-stringlinyuh
Solves BiDi problem that might cause phone number to be displayed incorrectly in the dialer. Issue might occur when a phone number is concatenated with a custom number label containing an RTL-string. Solved by changing affected labels from TextView to BidiTextView. Removed function spanDisplayNumber in BottomRow which are now obsolete. Updates the DialerBidiFormatter to prevent whitespace to be misplaced within a BidiTextView. BUG=78464687 TEST=Manual Public-Origin-Change-Id: I789a6f76a5ca805c03a437813ce627eef7a0bf2e Signed-off-by: Linyu He <linyuh@google.com> Author: Torbjorn Eklund <torbjorn.eklund@sony.com> Bug: 78464687 Test: Manual PiperOrigin-RevId: 198823629 Change-Id: Id35c3ebf514609b4a1fe10a7ae5a297bde7c7456
2018-03-26Remove obsolete methods in CompatUtils and rename it as "LocaleUtils".linyuh
Test: Existing tests PiperOrigin-RevId: 190516504 Change-Id: I5fa9e123b45beb9728257ecd160a348fb3f4732c
2018-03-26Correctly display phone numbers containing whitespaces in RTL context.linyuh
Bug: 74421656 Test: DialerBidiFormatterTest PiperOrigin-RevId: 190154072 Change-Id: Ic7cb3be702dd28b07b6e5e1e6d89f75f0bb12655