Unencrypted SMS are not synchronized with other SMS apps
Created by: marmistrz
Bug description
Silence doesn't synchronize the messages with the other messaging apps. For example, Messaging and QKSMS can read each other's SMS messages, Silence not.
I have some messages, these are probably the ones sent by the default Messaging app.
How to reproduce
Set Silence as the default messaging app Receive an SMS Open QKSMS
Actual result: The message is not seen by QKSMS Expected result: The message is seen by QKSMS
Set QKSMS as the default messaging app Receive an SMS Open Silence
Actual result: The message is not seen by Silence Expected result: The message is seen by Silence
Device info
- Device: OnePlus 3
- Android version: CM 13.0
- Silence version and build ID: 0.14.6, fd8f2a2a
Link to debug log
12-10 12:58:10.093 14296 14296 W PassphraseRequiredActionBarActivity: onResume()
12-10 12:58:10.127 14296 14296 W KeyCachingService: onStartCommand, org.smssecure.smssecure.service.action.ACTIVITY_START_EVENT
12-10 12:58:10.127 14296 14296 W KeyCachingService: Incrementing activity count...
12-10 12:58:10.380 14296 14296 W PassphraseRequiredActionBarActivity: onPause()
12-10 12:58:10.385 14296 14296 W KeyCachingService: onStartCommand, org.smssecure.smssecure.service.action.ACTIVITY_STOP_EVENT
12-10 12:58:10.385 14296 14296 W KeyCachingService: Decrementing activity count...
12-10 12:58:20.139 14296 14296 W PassphraseRequiredActionBarActivity: onDestroy()
12-10 12:58:20.169 14296 14296 W PassphraseRequiredActionBarActivity: onResume()
12-10 12:58:20.240 14296 14296 W KeyCachingService: onStartCommand, org.smssecure.smssecure.service.action.ACTIVITY_START_EVENT
12-10 12:58:20.240 14296 14296 W KeyCachingService: Incrementing activity count...
12-10 12:58:22.131 14296 14296 W PassphraseRequiredActionBarActivity: onPause()
12-10 12:58:22.142 14296 14296 W KeyCachingService: onStartCommand, org.smssecure.smssecure.service.action.ACTIVITY_STOP_EVENT
12-10 12:58:22.142 14296 14296 W KeyCachingService: Decrementing activity count...
12-10 12:58:22.147 14296 14296 W PassphraseRequiredActionBarActivity: onCreate(null)
12-10 12:58:22.148 14296 14296 W PassphraseRequiredActionBarActivity: routeApplicationState(), state: 0
12-10 12:58:22.154 14296 14296 W PassphraseRequiredActionBarActivity: initializeClearKeyReceiver()
12-10 12:58:22.155 14296 14296 W ConversationActivity: onCreate()
12-10 12:58:22.577 14296 14296 W PassphraseRequiredActionBarActivity: onResume()
12-10 12:58:22.577 14296 14335 W MmsSmsDatabase: Executing query: SELECT _id, unique_row_id, body, type, thread_id, address, address_device_id, subject, date_sent, date_received, m_type, msg_box, status, part_count, ct_l, tr_id, m_size, exp, st, date_delivery_received, mismatched_identities, network_failures, subscription_id, transport_type, attachment_id, unique_id, mid, data_size, _data, ct, cl, cd, name, pending_push FROM (SELECT DISTINCT date_sent AS date_sent, date AS date_received, _id, 'SMS::' || _id || '::' || date_sent AS unique_row_id, NULL AS attachment_id, body, read, thread_id, type, address, address_device_id, 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, date_delivery_received, mismatched_identities, subscription_id, NULL AS network_failures, 'sms' AS transport_type, NULL AS unique_id, NULL AS mid, NULL AS data_size, NULL AS _data, NULL AS ct, NULL AS cl, NULL AS cd, NULL AS name, NULL AS pending_push FROM sms WHERE (thread_id = 3) UNION ALL SELECT DISTINCT date AS date_sent, date_received AS date_received, mms._id AS _id, 'MMS::' || mms._id || '::' || date AS unique_row_id, part._id AS attachment_id, body, read, thread_id, NULL AS type, address, address_device_id, NULL AS subject, m_type, msg_box, NULL AS status, part_count, ct_l, tr_id, m_size, exp, st, date_delivery_received, mismatched_identities, subscription_id, network_failures, 'mms' AS transport_type, unique_id, NULL AS mid, data_size, NULL AS _data, ct, cl, cd, name, pending_push FROM mms LEFT OUTER JOIN part ON part._id = (SELECT part._id FROM part WHERE part.mid = mms._id LIMIT 1) WHERE (thread_id = 3) ORDER BY date_received DESC LIMIT 500)
12-10 12:58:22.651 14296 14296 I Choreographer: Skipped 30 frames! The application may be doing too much work on its main thread.
12-10 12:58:22.662 14296 14336 W MmsSmsDatabase: Executing query: SELECT _id, unique_row_id, body, type, thread_id, address, address_device_id, subject, date_sent, date_received, m_type, msg_box, status, part_count, ct_l, tr_id, m_size, exp, st, date_delivery_received, mismatched_identities, network_failures, subscription_id, transport_type, attachment_id, unique_id, mid, data_size, _data, ct, cl, cd, name, pending_push FROM (SELECT DISTINCT date_sent AS date_sent, date AS date_received, _id, 'SMS::' || _id || '::' || date_sent AS unique_row_id, NULL AS attachment_id, body, read, thread_id, type, address, address_device_id, 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, date_delivery_received, mismatched_identities, subscription_id, NULL AS network_failures, 'sms' AS transport_type, NULL AS unique_id, NULL AS mid, NULL AS data_size, NULL AS _data, NULL AS ct, NULL AS cl, NULL AS cd, NULL AS name, NULL AS pending_push FROM sms WHERE (read = 0) UNION ALL SELECT DISTINCT date AS date_sent, date_received AS date_received, mms._id AS _id, 'MMS::' || mms._id || '::' || date AS unique_row_id, part._id AS attachment_id, body, read, thread_id, NULL AS type, address, address_device_id, NULL AS subject, m_type, msg_box, NULL AS status, part_count, ct_l, tr_id, m_size, exp, st, date_delivery_received, mismatched_identities, subscription_id, network_failures, 'mms' AS transport_type, unique_id, NULL AS mid, data_size, NULL AS _data, ct, cl, cd, name, pending_push FROM mms LEFT OUTER JOIN part ON part._id = (SELECT part._id FROM part WHERE part.mid = mms._id LIMIT 1) WHERE (read = 0) ORDER BY date_received ASC)
12-10 12:58:22.675 14296 14296 W KeyboardAwareLinearLayout: rotation changed
12-10 12:58:22.676 14296 14296 W KeyboardAwareLinearLayout: onKeyboardClose()
12-10 12:58:22.722 14296 14296 W ConversationActivity: updateDefaultSubscriptionId(1)
12-10 12:58:22.752 14296 14296 W KeyCachingService: onStartCommand, org.smssecure.smssecure.service.action.ACTIVITY_START_EVENT
12-10 12:58:22.752 14296 14296 W KeyCachingService: Incrementing activity count...
12-10 12:58:22.818 14296 14332 W EmojiProvider: loading page emoji-people.png
12-10 12:58:22.882 14296 14332 W EmojiProvider: onPageLoaded(emoji-people.png)
12-10 12:58:22.974 14296 14337 D OpenGLRenderer: endAllStagingAnimators on 0xdcce5b80 (RippleDrawable) with handle 0xdb5bcc70