Unsupported Encoding! (Encrypted MMS)
This only occurs when sending encrypted MMS. Encrypted SMS and MMS in the clear work fine. Sending between 2 SGS3's running 4.1.2 on Verizon.
Logcat on receiving device:
W/MmsDownloader( 7746): Got MMS part of content-type: application/smil
W/MmsDownloader( 7746): Got MMS part of content-type: text/plain
W/EncryptingPartDatabase( 7746): Writing part to: /data/data/org.thoughtcrime.securesms/app_parts/part-1681860259.mms
W/PartDatabase( 7746): Writing part data from buffer
W/PartDatabase( 7746): Wrote part to file: /data/data/org.thoughtcrime.securesms/app_parts/part-1681860259.mms
W/PartDatabase( 7746): Inserted part at ID: 8
W/EncryptingPartDatabase( 7746): Writing part to: /data/data/org.thoughtcrime.securesms/app_parts/part1232784396.mms
W/PartDatabase( 7746): Writing part data from buffer
W/PartDatabase( 7746): Wrote part to file: /data/data/org.thoughtcrime.securesms/app_parts/part1232784396.mms
W/PartDatabase( 7746): Inserted part at ID: 9
W/MmsSmsDatabase( 7746): Executing query: SELECT _id, body, type, thread_id, address, subject, date_sent, date_received, m_type, msg_box, status, part_count, ct_l, tr_id, m_size, exp, st, transport_type FROM (SELECT DISTINCT date_sent * 1 AS date_sent, date * 1 AS date_received, _id, body, read, thread_id, type, address, subject, NULL AS m_type, NULL AS msg_box, status, NULL AS part_count, NULL AS ct_l, NULL AS tr_id, NULL AS m_size, NULL AS exp, NULL AS st, 'sms' AS transport_type FROM sms WHERE (thread_id = 1) UNION ALL SELECT DISTINCT date * 1000 AS date_sent, date_received * 1000 AS date_received, _id, body, read, thread_id, NULL AS type, address, NULL AS subject, m_type, msg_box, NULL AS status, part_count, ct_l, tr_id, m_size, exp, st, 'mms' AS transport_type FROM mms WHERE (thread_id = 1) ORDER BY date_received DESC) LIMIT 1
W/MmsSmsDatabase( 7746): Executing query: SELECT _id, body, type, thread_id, address, subject, date_sent, date_received, m_type, msg_box, status, part_count, ct_l, tr_id, m_size, exp, st, transport_type FROM (SELECT DISTINCT date_sent * 1 AS date_sent, date * 1 AS date_received, _id, body, read, thread_id, type, address, subject, NULL AS m_type, NULL AS msg_box, status, NULL AS part_count, NULL AS ct_l, NULL AS tr_id, NULL AS m_size, NULL AS exp, NULL AS st, 'sms' AS transport_type FROM sms WHERE (thread_id = 1) UNION ALL SELECT DISTINCT date * 1000 AS date_sent, date_received * 1000 AS date_received, _id, body, read, thread_id, NULL AS type, address, NULL AS subject, m_type, msg_box, NULL AS status, part_count, ct_l, tr_id, m_size, exp, st, 'mms' AS transport_type FROM mms WHERE (thread_id = 1) ORDER BY date_received DESC) LIMIT 1
W/DecryptingQueue( 7746): Content type (0): application/smil
W/DecryptingQueue( 7746): Content type (1): text/plain
W/KeyUtil ( 7746): Checking session...
W/LocalKeyRecord( 7746): Checking: 1-local
W/LocalKeyRecord( 7746): Checking: 1-remote
W/LocalKeyRecord( 7746): Checking: 1
W/DecryptingQueue( 7746): Decrypting: 45 51 41 4f 48 77 41 45 51 67 41 4f 49 41 4a 4a 7a 6d 6a 33 67 39 58 72 63 68 64 55 46 49 39 70 50 6f 77 63 76 76 42 71 5a 67 43 30 58 4b 68 70 64 2b 58 31 70 56 74 69 6b 51 41 41 43 6d 30 77 37 35 6a 71 7a 72 58 63 4a 6e 58 42 58 46 68 5a 39 4f 37 6a 4c 4a 5a 74 42 35 52 69 31 30 73 66 76 62 77 67 55 42 6a 44 2f 79 68 71 6a 34 57 64 30 6f 57 4a 66 4a 6b 51 56 76 66 64 74 66 6e 64 69 55 76 75 43 43 39 38 63 63 66 76 42 75 62 62 58 4d 34 59 76 64 67 37 74 37 59 61 73 35 71 53 38 48 34 67 30 39 4f 4d 6c 73 48 30 64 5a 42 52 51 45 72 2f 5a 6e 44 2f 7a 70 47 4b 71 77 49 4e 72 46 50 75 77 64 38 57 32 4a 65 2f 70 58 38 6d 65 73 2b 76 47 4d 4f 36 30 46 68 61 64 62 75 70 36 61 33 4c 5a 58 71 32 71 58 4a 46 33 4b 52 70 38 55 4b 36 31 6f 75 44 50 42 5a 76 51 37 6b 57 73 33 6a 42 41 43 49 2b 31 4c 32 78 39 52 68 4b 65 78 65 76 44 4d 33 69 46 4c 41 51 2f 35 65 46 51 58 6a 57 66 2b 30 72 54 56 57 76 64 2f 41 2f 30 4d 59 38 2b 54 69 4d 67 6b 4c 34 71 69 44 53 4a 64 66 57 48 65 4d 5a 41 69 45 4d 51 4b 72 72 44 48 54 54 55 30 74 76 63 5a 78 6c 7a 48 32 42 43 65 78 37 75 6b 51 6a 6d 58 55 39 68 67 4b 61 4d 68 2f 6e 53 45 77 4b 35 62 54 4c 36 35 57 36 4d 53 34 47 72 44 61 44 59 56 4b 62 58 32 46 38 32 4f 2b 30 77 66 70 54 52 6b 6e 5a 65 69 44 4b 57 4d 73 6c 69 38 41 54 6d 2b 33 31 51 76 38 76 67 49 74 59 37 74 46 6f 47 45 73 4c 41 2f 4e 4f 71 33 38 46 36 2b 78 73 48 39 64 77 51 4e 45 6d 6d 73 50 6d 30 78 6d 44 65 64 6b 37 6a 4a 55 79 56 73 63 45 74 56 39 4d 6d 63 45 62 48 41 63 7a 44 47 51 77 76 77 46 6c 47 77 34 34 53 48 65 58 38 52 6f 37 6c 61 54 55 6f 46 61 37 51 30 58 52 73 79 50 6c 71 59 78 58 54 59 7a 52 6f 38 49 71 6b 46 76 50 48 33 6b 70 62 33 6d 62 71 79 35 64 4f 53 50 2b 79 72 56 4a 79 55 55 50 63 69 31 38 77 33 46 41 71 6d 4c 56 30 2f 78 46 6f 35 52 54 78 70 53 47 71 49 37 4f 34 6c 75 55 46 46 4a 61 74 6d 76 65 4d 56 59 4e 37 4a 4b 7a 6e 70 4a 50 49 44 67 75 58 46 6b 6b 70 4b 71 4b 39 4a 53 53 77 73 48 35 56 53 4b 69 56 69 52 47 42 41 54 44 6a 70 79 4d 62 76 6a 53 31 2f 75 78 5a 66 57 49 4c 61 65 36 54 58 4b 46 34 72 52 64 79 4b 4d 6e 64 44 44 4e 46 62 5a 41 31 4b 75 4c 7a 75 63 65 2b 62 5a 4a 47 33 67 2b 41 64 7a 58 77 49 69 75 55 65 44 46 65 42 31 30 4e 76 4c 4a 70 7a 48 77 6f 51 67 4f 59 59 49 52 49 33 69 52 31 43 54 70 6e 32 47 4b 55 49 30 37 78 65 7a 7a 63 78 2f 73 72 65 6c 6a 6f 4e 6a 76 46 59 46 38 62 58 47 41 4f 31 2f 43 48 67 4d 61 55 46 5a 71 69 44 7a 31 6c 72 4c 7a 48 48 4a 6f 38 76 31 42 71 54 37 45 73 36 37 38 51 35 4a 67 75 43 4d 73 37 34 75 46 52 72 2f 61 48 53 76 76 4c 52 50 43 44 33 66 77 4e 36 33 62 79 36 4a 44 46 6b 75 43 4c 43 36 66 52 2b 41 4c 35 4a 67 79 2b 31 74 2f 57 72 4f 4e 68 64 4d 64 30 4b 75 72 71 54 76 31 35 36 4e 37 70 49 45 73 74 62 38 63 65 41 4e 4d 42 34 36 36 6c 2b 41 51 31 58 52 76 73 59 37 75 4a 54 6b 62 66 56 55 44 32 48 52 4c 6d 63 30 46 61 71 71 47 79 49 4f 6a 2f 69 49 7a 37 55 69 36 4b 49 4d 68 4f 68 4d 42 78 6e 2f 38 6d 6c 42 76 6e 36 54 78 33 4b 55 72 49 42 35 33 79 2b 45 70 56 63 4d 37 2f 66 6c 6a 47 59 6f 78 59 43 73 65 4f 71 54 52 78 6b 41 2b 4f 7a 55 45 65 65 48 48 6e 4a 6c 58 51 32 73 58 46 33 68 4a 36 6f 30 4b 59 30 30 43 73 6b 6a 44 43 59 4b 30 44 57 61 4a 42 36 4a 36 66 49 5a 78 75 32 30 4f 2b 35 37 37 51 72 4b 41 45 54 6f 56 37 34 4a 63 52 35 58 73 67 64 35 64 57 4a 62 35 75 58 33 77 76 6e 51 57 41 78 51 69 50 2f 30 56 4c 6b 54 30 30 31 67 50 4f 64 71 6e 37 76 71 39 67 43 34 30 56 75 56 31 39 45 43 56 6c 52 56 59 75 6f 61 76 36 5a 47 73 39 75 2f 73 6c 6a 55 79 48 41 4a 42 49 70 66 67 62 50 6b 4a 30 56 54 7a 55 32 70 71 33 4c 78 4d 57 45 47 62 64 68 73 57 76 42 57 64 37 46 57 78 71 77 54 70 43 49 54 6d 6d 34 7a 59 39 64 4a 6f 45 6d 47 72 73 50 43 6e 6d 4b 6f 49 2f 58 55 74 7a 31 37 72 56 31 72 38 44 5a 30 58 53 36 39 73 74 48 64 47 79 65 55 43 31 73 58 7a 67 70 62 52 63 42 4f 41 45 2f 77 44 67 4a 76 4b 6c 41 61 51 4f 52 4c 65 2b 32 32 72 56 4c 53 46 50 2f 4f 6e 69 57 55 77 39 48 7a 7a 38 7a 50 66 50 6f 69 47 64 39 2f 43 78 76 4b 74 36 42 61 55 77 6c 2f 6c 77 77 64 4d 48 38 72 4a 4e 42 76 6f 6c 76 75 6c 34 46 48 77 50 72 73 37 43
W/SessionCipher( 7746): Constructing session cipher...
W/LocalKeyRecord( 7746): Loading local key record...
W/PublicKey( 7746): PublicKey Length: 120
W/PublicKey( 7746): PublicKey Length: 120
W/RemoteKeyRecord( 7746): Loading remote key record for recipient: 1-remote
W/PublicKey( 7746): PublicKey Length: 36
W/PublicKey( 7746): PublicKey Length: 36
W/MmsSmsDatabase( 7746): Executing query: SELECT _id, body, type, thread_id, address, subject, date_sent, date_received, m_type, msg_box, status, part_count, ct_l, tr_id, m_size, exp, st, transport_type FROM (SELECT DISTINCT date_sent * 1 AS date_sent, date * 1 AS date_received, _id, body, read, thread_id, type, address, subject, NULL AS m_type, NULL AS msg_box, status, NULL AS part_count, NULL AS ct_l, NULL AS tr_id, NULL AS m_size, NULL AS exp, NULL AS st, 'sms' AS transport_type FROM sms WHERE (thread_id = 1) UNION ALL SELECT DISTINCT date * 1000 AS date_sent, date_received * 1000 AS date_received, _id, body, read, thread_id, NULL AS type, address, NULL AS subject, m_type, msg_box, NULL AS status, part_count, ct_l, tr_id, m_size, exp, st, 'mms' AS transport_type FROM mms WHERE (thread_id = 1) ORDER BY date_received DESC) LIMIT 1
W/SessionCipher( 7746): Decrypting message...
W/Message ( 7746): Message Version: 1
W/Message ( 7746): Supported Version: 1
W/Message ( 7746): Parsed current version: 1 supported version: 1
W/Message ( 7746): Pulling next key out of message...
W/PublicKey( 7746): PublicKey Length: 36
W/SessionCipher( 7746): Getting session key for local: 1090 remote: 3615
W/MmsSmsDatabase( 7746): Executing query: SELECT _id, body, read, type, address, subject, thread_id, status, date_sent, date_received, m_type, msg_box, part_count, ct_l, tr_id, m_size, exp, st, transport_type FROM (SELECT DISTINCT date_sent * 1 AS date_sent, date * 1 AS date_received, _id, body, read, thread_id, type, address, subject, NULL AS m_type, NULL AS msg_box, status, NULL AS part_count, NULL AS ct_l, NULL AS tr_id, NULL AS m_size, NULL AS exp, NULL AS st, 'sms' AS transport_type FROM sms WHERE (read = 0) UNION ALL SELECT DISTINCT date * 1000 AS date_sent, date_received * 1000 AS date_received, _id, body, read, thread_id, NULL AS type, address, NULL AS subject, m_type, msg_box, NULL AS status, part_count, ct_l, tr_id, m_size, exp, st, 'mms' AS transport_type FROM mms WHERE (read = 0) ORDER BY date_received ASC)
W/PduComposer( 7746): Returning: 34 bytes...
W/AlarmManager( 720): FACTORY_ON= 0
W/MmsSender( 7746): Sending MMS of length: 34
I/SensorService( 720): info.selectDelay() ns=200000000
I/MediaPlayer( 924): it is a Ringtone type is : 2
I/MediaPlayer( 924): It is a Not a DRM RingTone: return NULl
I/MediaPlayer( 924): path is null
I/AwesomePlayer( 201): reset
I/OMXCodec( 201): OMXCodec::Create mime (audio/vorbis), flags (0), matchComponentName ((null)), createEncoder (0)
I/OMXCodec( 201): Attempting to allocate OMX node 'OMX.google.vorbis.decoder'
I/OMXCodec( 201): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
E/OMXCodec( 201): Not Setting the QOMX_VIDEO_PARAM_DIVXTYPE for audio/vorbis
I/OMXCodec( 201): [OMX.google.vorbis.decoder] allocating 4 buffers of size 8192 on input port
I/OMXCodec( 201): [OMX.google.vorbis.decoder] allocating 4 buffers of size 32768 on output port
I/AudioService( 720): AudioFocus requestAudioFocus() from 924 focusChangeHint:3
E/AudioPolicyManagerBase( 201): unknown stream type
E/AudioPolicyManagerBase( 201): unknown stream type
E/AudioPolicyManagerBase( 201): unknown stream type
E/AudioPolicyManagerBase( 201): unknown stream type
E/AudioPolicyManagerBase( 201): unknown stream type
E/AudioPolicyManagerBase( 201): unknown stream type
I/AudioPolicyManagerBase( 201): ### curdevice : 2
E/OMXNodeInstance( 201): OMX_FreeBuffer for buffer header 0x422b0d70 successful
E/OMXNodeInstance( 201): OMX_FreeBuffer for buffer header 0x422b0f80 successful
E/OMXNodeInstance( 201): OMX_FreeBuffer for buffer header 0x422b10c0 successful
E/OMXNodeInstance( 201): OMX_FreeBuffer for buffer header 0x422b11e8 successful
I/OMXCodec( 201): [OMX.google.vorbis.decoder] allocating 4 buffers of size 32768 on output port
I/LightsService( 720): fileWriteInt : /sys/class/sec/led/led_lowpower value : 1
I/AudioPlayer( 201): Audioplayer kKeyAudioPCMFormat:1, 1, 0
I/AudioPlayer( 201): MOON > Audioplayer1 (1, 1)
E/AudioPolicyManagerBase( 201): unknown stream type
E/AudioPolicyManagerBase( 201): unknown stream type
E/AudioPolicyManagerBase( 201): unknown stream type
I/AwesomePlayer( 201): reset
I/AudioSink( 201): +++ close
I/AudioSink( 201): --- close
E/OMXNodeInstance( 201): OMX_FreeBuffer for buffer header 0x400e4848 successful
E/OMXNodeInstance( 201): OMX_FreeBuffer for buffer header 0x42967d90 successful
E/OMXNodeInstance( 201): OMX_FreeBuffer for buffer header 0x422f5f00 successful
E/OMXNodeInstance( 201): OMX_FreeBuffer for buffer header 0x42967cc8 successful
E/OMXNodeInstance( 201): OMX_FreeBuffer for buffer header 0x42b43188 successful
E/OMXNodeInstance( 201): OMX_FreeBuffer for buffer header 0x42b43008 successful
E/OMXNodeInstance( 201): OMX_FreeBuffer for buffer header 0x429fbf78 successful
E/OMXNodeInstance( 201): OMX_FreeBuffer for buffer header 0x42342e70 successful
E/lights ( 720): g_led_info = 0xc
I/AwesomePlayer( 201): reset
I/AwesomePlayer( 201): reset
I/MediaPlayer( 924): Don't send intent. msg.arg1 = 0, msg.arg2 = 0
I/AudioSink( 201): +++ close
I/AudioSink( 201): --- close
E/ACDB-LOADER( 201): Error: ACDB AFE returned = -8
W/MmsSender( 7746): Sending MMS1 of length: 34
W/MmsService( 7746): Calling stop using network feature!
E/WifiP2pStateTracker( 720): getNetworkInfo : NetworkInfo: type: WIFI_P2P[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true
I/VPNCStarter( 222): Message channel file directory does not exist
W/mm ( 7746): Local Mac: ae ac c1 a1 54 e2 0b 26 b4 ea
W/mm ( 7746): Remot Mac: ae ac c1 a1 54 e2 0b 26 b4 ea
W/RemoteKeyRecord( 7746): Updating current remote key: 3616
W/RemoteKeyRecord( 7746): Saving remote key record for recipient: 1-remote
W/RemoteKeyRecord( 7746): Opened file of size: 80
W/PublicKey( 7746): Serializing public key point: 02 49 ce 68 f7 83 d5 eb 72 17 54 14 8f 69 3e 8c 1c be f0 6a 66 00 b4 5c a8 69 77 e5 f5 a5 5b 62 91
W/RemoteKeyRecord( 7746): Serializing remote key bytes: 00 0e 20 02 49 ce 68 f7 83 d5 eb 72 17 54 14 8f 69 3e 8c 1c be f0 6a 66 00 b4 5c a8 69 77 e5 f5 a5 5b 62 91
W/PublicKey( 7746): Serializing public key point: 02 f1 86 2d 31 02 55 ab 73 2b 1b 54 96 37 a8 48 c2 aa 69 fd 9e ac 7b 24 90 43 d4 2d a6 77 aa 6b e5
W/RemoteKeyRecord( 7746): Serializing remote key bytes: 00 0e 1f 02 f1 86 2d 31 02 55 ab 73 2b 1b 54 96 37 a8 48 c2 aa 69 fd 9e ac 7b 24 90 43 d4 2d a6 77 aa 6b e5
W/LocalKeyRecord( 7746): Remote client acknowledges receiving key id: 1090
W/PublicKey( 7746): Serializing public key point: 02 36 13 8a 2c 43 c3 41 7a 87 62 fd 7d 3b 1d 5d 51 8b e9 12 87 00 52 29 fc 78 fa d7 e2 48 d8 3a 33
W/KeyPair ( 7746): Serialized public key bytes: 00 04 42 02 36 13 8a 2c 43 c3 41 7a 87 62 fd 7d 3b 1d 5d 51 8b e9 12 87 00 52 29 fc 78 fa d7 e2 48 d8 3a 33
W/PublicKey( 7746): Serializing public key point: 03 fe 26 21 4b e2 8d 23 ce d5 33 24 b9 d2 c6 65 e6 c8 1c a2 07 1e 59 98 db 83 84 fd cf 36 04 8e 15
W/KeyPair ( 7746): Serialized public key bytes: 00 04 43 03 fe 26 21 4b e2 8d 23 ce d5 33 24 b9 d2 c6 65 e6 c8 1c a2 07 1e 59 98 db 83 84 fd cf 36 04 8e 15
W/PduParser( 7746): parse() called...
W/PduParser( 7746): Message Type: 128
W/PduParser( 7746): Parsing parts...
W/DecryptingQueue( 7746): Successfully decrypted MMS!
W/PartParser( 7746): java.io.UnsupportedEncodingException: *
W/PartParser( 7746): at java.nio.charset.Charset.forNameUEE(Charset.java:316)
W/PartParser( 7746): at java.lang.String.
W/PartParser( 7746): at org.thoughtcrime.securesms.mms.PartParser.getMessageText(PartParser.java:22)
W/PartParser( 7746): at org.thoughtcrime.securesms.database.MmsDatabase.insertMediaMessage(MmsDatabase.java:477)
W/PartParser( 7746): at org.thoughtcrime.securesms.database.MmsDatabase.insertMessageInbox(MmsDatabase.java:367)
W/PartParser( 7746): at org.thoughtcrime.securesms.database.MmsDatabase.insertSecureDecryptedMessageInbox(MmsDatabase.java:398)
W/PartParser( 7746): at org.thoughtcrime.securesms.crypto.DecryptingQueue$MmsDecryptionItem.run(DecryptingQueue.java:200)
W/PartParser( 7746): at org.thoughtcrime.securesms.util.WorkerThread.run(WorkerThread.java:46)
W/PartParser( 7746): Caused by: java.nio.charset.IllegalCharsetNameException: *
W/PartParser( 7746): at java.nio.charset.Charset.checkCharsetName(Charset.java:198)
W/PartParser( 7746): at java.nio.charset.Charset.forName(Charset.java:289)
W/PartParser( 7746): at java.nio.charset.Charset.forNameUEE(Charset.java:314)
W/PartParser( 7746): ... 7 more
W/MmsSmsDatabase( 7746): Executing query: SELECT _id, body, type, thread_id, address, subject, date_sent, date_received, m_type, msg_box, status, part_count, ct_l, tr_id, m_size, exp, st, transport_type FROM (SELECT DISTINCT date_sent * 1 AS date_sent, date * 1 AS date_received, _id, body, read, thread_id, type, address, subject, NULL AS m_type, NULL AS msg_box, status, NULL AS part_count, NULL AS ct_l, NULL AS tr_id, NULL AS m_size, NULL AS exp, NULL AS st, 'sms' AS transport_type FROM sms WHERE (thread_id = 1) UNION ALL SELECT DISTINCT date * 1000 AS date_sent, date_received * 1000 AS date_received, _id, body, read, thread_id, NULL AS type, address, NULL AS subject, m_type, msg_box, NULL AS status, part_count, ct_l, tr_id, m_size, exp, st, 'mms' AS transport_type FROM mms WHERE (thread_id = 1) ORDER BY date_received DESC) LIMIT 1
W/MmsSmsDatabase( 7746): Executing query: SELECT _id, body, type, thread_id, address, subject, date_sent, date_received, m_type, msg_box, status, part_count, ct_l, tr_id, m_size, exp, st, transport_type FROM (SELECT DISTINCT date_sent * 1 AS date_sent, date * 1 AS date_received, _id, body, read, thread_id, type, address, subject, NULL AS m_type, NULL AS msg_box, status, NULL AS part_count, NULL AS ct_l, NULL AS tr_id, NULL AS m_size, NULL AS exp, NULL AS st, 'sms' AS transport_type FROM sms WHERE (thread_id = 1) UNION ALL SELECT DISTINCT date * 1000 AS date_sent, date_received * 1000 AS date_received, _id, body, read, thread_id, NULL AS type, address, NULL AS subject, m_type, msg_box, NULL AS status, part_count, ct_l, tr_id, m_size, exp, st, 'mms' AS transport_type FROM mms WHERE (thread_id = 1) ORDER BY date_received DESC) LIMIT 1
W/MmsSmsDatabase( 7746): Executing query: SELECT _id, body, type, thread_id, address, subject, date_sent, date_received, m_type, msg_box, status, part_count, ct_l, tr_id, m_size, exp, st, transport_type FROM (SELECT DISTINCT date_sent * 1 AS date_sent, date * 1 AS date_received, _id, body, read, thread_id, type, address, subject, NULL AS m_type, NULL AS msg_box, status, NULL AS part_count, NULL AS ct_l, NULL AS tr_id, NULL AS m_size, NULL AS exp, NULL AS st, 'sms' AS transport_type FROM sms WHERE (thread_id = 1) UNION ALL SELECT DISTINCT date * 1000 AS date_sent, date_received * 1000 AS date_received, _id, body, read, thread_id, NULL AS type, address, NULL AS subject, m_type, msg_box, NULL AS status, part_count, ct_l, tr_id, m_size, exp, st, 'mms' AS transport_type FROM mms WHERE (thread_id = 1) ORDER BY date_received DESC) LIMIT 1
Can you send me an email at moxie at moxie.org? I'll send you a signed APK to test a fix with.
8524cc5598bd0b866aaefcd3f4e7bccd8560f1a5