mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-25 05:27:42 +00:00
Upgrade ktlint and add twitter compose rules.
This commit is contained in:
committed by
Greyson Parrelli
parent
52e9b31554
commit
605289aca4
@@ -228,9 +228,9 @@ abstract class SmsExportService : Service() {
|
||||
onMessageExportSucceeded(sms)
|
||||
true
|
||||
}, onFailure = {
|
||||
onMessageExportFailed(sms)
|
||||
false
|
||||
})
|
||||
onMessageExportFailed(sms)
|
||||
false
|
||||
})
|
||||
}
|
||||
|
||||
private fun exportMms(smsExportState: SmsExportState, mms: ExportableMessage.Mms<*>): Boolean {
|
||||
|
||||
@@ -35,7 +35,7 @@ object ExportMmsRecipientsUseCase {
|
||||
val addrValues = contentValuesOf(
|
||||
Telephony.Mms.Addr.ADDRESS to recipient,
|
||||
Telephony.Mms.Addr.CHARSET to CharacterSets.DEFAULT_CHARSET,
|
||||
Telephony.Mms.Addr.TYPE to if (recipient == sender) PduHeaders.FROM else PduHeaders.TO,
|
||||
Telephony.Mms.Addr.TYPE to if (recipient == sender) PduHeaders.FROM else PduHeaders.TO
|
||||
)
|
||||
|
||||
context.contentResolver.insert(addrUri, addrValues)
|
||||
|
||||
Reference in New Issue
Block a user