Sending UCS2 encoded SMS correctly

http://b/2285139
This commit is contained in:
Bai Tao
2009-11-25 23:26:18 +08:00
committed by jsh
parent bb3bb57a63
commit 0e200c3cbe

View File

@@ -280,6 +280,7 @@ public class SmsMessage extends SmsMessageBase{
// send it as a UCS-2 encoded message
try {
userData = encodeUCS2(message, header);
encoding = ENCODING_16BIT;
} catch(UnsupportedEncodingException uex) {
Log.e(LOG_TAG,
"Implausible UnsupportedEncodingException ",