commit | e43a6a02dd9124079c69f3a5a01e16df4f85ee05 | [log] [tgz] |
---|---|---|
author | Satish Roddom <satishroddom@motorola.com> | Fri Aug 21 02:51:39 2009 -0500 |
committer | Wink Saville <wink@google.com> | Mon Aug 24 09:19:08 2009 -0700 |
tree | 4e23cbbc89ff02c720b1e7318423b6cc4e88caf5 | |
parent | 4e9718d6ae3433a3f78fddf158a15701101ba781 [diff] |
Compose Message "To" field allows adding sequence of characters as contact When we select this option, this sequence of characters (which is neither a valid email address nor a phone number), gets stored in contact with type MOBILE. Fix: In function canAddToContacts, adding a check to validate whether the contact to be added is a valid email address or phone number. If not, user will not be shown with the option "Add to Contacts".