Ajouter les MMS envoyés dans la base de données

This commit is contained in:
odrling 2018-03-31 16:44:56 +02:00
parent 6b530db630
commit 0f30a95bc8

View file

@ -231,8 +231,7 @@ class NornTransaction constructor(private val context: Context) {
try {
(context as Activity).window.decorView.findViewById<View>(android.R.id.content).post({ Toast.makeText(context, "Message could not be sent", Toast.LENGTH_LONG).show() })
} catch (f: Exception) {
}
} catch (f: Exception) {}
}
@ -264,6 +263,8 @@ class NornTransaction constructor(private val context: Context) {
data.add(part)
}
message.insertMessage(context).get()
Log.v(TAG, "using system method for sending")
sendMmsThroughSystem(context, message.subject, data, message.addresses, explicitSentMmsReceiver)
}