commit | 50e922849399f12d2411a29b2199d8202087492d | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Mon Dec 15 15:46:17 2014 -0800 |
committer | Raph Levien <raph@google.com> | Mon Dec 15 15:46:17 2014 -0800 |
tree | f36cdc197a4ed63f9c4709b42f5a30ac44e05377 | |
parent | 613fffcd0f17eecb0231fe24f7abf7936eef8d37 [diff] |
Preserve leading "+" in phone numbers The normalizeNumber method in PhoneNumberUtils preserves a leading "+" but only if it's the first character in the string. Thus it gets dropped if there is leading punctuation such as "(". This patch preserves the leading "+" as long as it would be the first character in the normalized phone number. Bug: 18418335 Change-Id: Ifcb1d3dd6c2943c729f570e7f3c90d1da9ee8b4b