send the number to Thread activity too, use it if necessary
This commit is contained in:
parent
b231f2c644
commit
ab9aa5d2ba
3 changed files with 15 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue