summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2014-12-15 15:46:17 -0800
committerRaph Levien <raph@google.com>2014-12-15 15:46:17 -0800
commit50e922849399f12d2411a29b2199d8202087492d (patch)
treef36cdc197a4ed63f9c4709b42f5a30ac44e05377 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent613fffcd0f17eecb0231fe24f7abf7936eef8d37 (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions