send the number to Thread activity too, use it if necessary

This commit is contained in:
tibbi 2020-04-14 09:58:19 +02:00
parent b231f2c644
commit ab9aa5d2ba
3 changed files with 15 additions and 0 deletions

View file

@ -174,6 +174,7 @@ class NewConversationActivity : SimpleActivity() {
putExtra(THREAD_ID, getThreadId(phoneNumber).toInt())
putExtra(THREAD_TITLE, name)
putExtra(THREAD_TEXT, text)
putExtra(THREAD_NUMBER, phoneNumber)
if (intent.action == Intent.ACTION_SEND && intent.extras?.containsKey(Intent.EXTRA_STREAM) == true) {
val uri = intent.getParcelableExtra<Uri>(Intent.EXTRA_STREAM)