commit | 75a8d5170399b37d33bced7825a9f6d88a5ec233 | [log] [tgz] |
---|---|---|
author | zachh <zachh@google.com> | Mon Jan 29 13:45:58 2018 -0800 |
committer | Copybara-Service <copybara-piper@google.com> | Mon Jan 29 15:36:05 2018 -0800 |
tree | 35a7e6ae0b6dbdae5ba84388a55853af78ac875f | |
parent | add7d143419d8ada612eb3e0bb2807b0e97dff35 [diff] |
Added is_valid and post_dial_portion fields to DialerPhoneNumber. These are frequently used attributes of numbers that we can compute once at parse-time. Also did some general cleanup of DialerPhoneNumberUtil: -Removed unused Future version of parse() -Remove formatToValidE164 now that the new fields are available -Inlined normalizeNumber() Bug: 72563861 Test: existing PiperOrigin-RevId: 183720128 Change-Id: I702dc265360e590439c5352c493ae8a858f36812