handle the SEND_MULTIPLE intent too
This commit is contained in:
parent
b7034a728c
commit
ce886b5b87
4 changed files with 18 additions and 6 deletions
|
|
@ -226,6 +226,10 @@ class ThreadActivity : SimpleActivity() {
|
|||
if (intent.extras?.containsKey(THREAD_ATTACHMENT_URI) == true) {
|
||||
val uri = Uri.parse(intent.getStringExtra(THREAD_ATTACHMENT_URI))
|
||||
addAttachment(uri)
|
||||
} else if (intent.extras?.containsKey(THREAD_ATTACHMENT_URIS) == true) {
|
||||
(intent.getSerializableExtra(THREAD_ATTACHMENT_URIS) as? ArrayList<Uri>)?.forEach {
|
||||
addAttachment(it)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue