commit | f890b9395afee07aef2ae93e1213819919bc5e9f | [log] [tgz] |
---|---|---|
author | Edward Savage-Jones <edward.savage-jones@sonyericsson.com> | Fri Aug 27 12:05:58 2010 +0200 |
committer | Jaikumar Ganesh <jaikumar@google.com> | Mon Aug 30 10:28:40 2010 -0700 |
tree | 14979dcd38f3d85650fe9c8492ca1850d4b6b5b1 | |
parent | 8759d55ec0668dec9ca2439085fe314fb0f21d27 [diff] |
Send vCard with Unicode encoded Strings over BT The standard Android code doesn't correctly handle creation of byte packets when sending vCard data. The length of a String is used to specify the number of bytes being sent, which works if all characters are ASCII (1 byte per char), but if Unicode characters exist within the string, then bytes vs String length differ which causes a truncation of the vCard during Bluetooth send. Change-Id: Ic39dd53a38f1f353523c625940b0317b00e86d4f