commit | 43094f62f186ebae4491675de9c230563cde6a8f | [log] [tgz] |
---|---|---|
author | Nicolas Catania <niko@google.com> | Tue Dec 08 14:09:46 2009 -0800 |
committer | Nicolas Catania <niko@google.com> | Tue Dec 08 14:09:46 2009 -0800 |
tree | 61e4f79dd0fc923b8462f9b6035fd40561441d60 | |
parent | 373f2c68131fada39948ecc4c1dd9770b5d0e856 [diff] |
Extract the full telephone number from the tel: URL. Previously to extract the number from the dial intent data we used the Uri class. This does not work very well be cause dial string can contain character that are special in a Uri context. For instance '#' in a dial string is a interpreted as a Uri fragment. To work around that issue, we extract the dial string by flattening the Uri into a string and skip the 'tel:' scheme. Bug:2282423