commit | 7f72d2dd76a6b95ff11411a62fa1329ca68edc9d | [log] [tgz] |
---|---|---|
author | Tom Taylor <tomtaylor@google.com> | Fri Apr 04 13:44:47 2014 -0700 |
committer | Mike Dodd <mdodd@google.com> | Mon Apr 07 21:32:27 2014 +0000 |
tree | 847bb9e2859d25345cf45580cf0b43cf65d4ba5f | |
parent | 5f55ee296e26d5278fd0d91657edddc92766459e [diff] |
Can't send my wife's vcard between devices Bug 13751984 If X-ANDROID-CUSTOM follows a photo's hex data, that line will get included as part of the photo data and will cause Base64.decode() to throw an exception. The code that gathers the hex data needs to finish if it sees X-ANDROID-CUSTOM. Added a test case to test this "bad" vcard. Change-Id: Ie60a1d09354a9c8a9dab603da01e9c7aff5eb070 (cherry picked from commit a326bcbb665b08f5c20122616452c6e3be8389ac)