Ensure body text is carried through to the media send screen.

We were only doing it if you entered through the media rail. Now we also
do it if you enter through the gallery.
This commit is contained in:
Greyson Parrelli
2019-01-17 11:42:01 -08:00
parent 9ff8f8587b
commit e7a807ab5b
3 changed files with 9 additions and 8 deletions

View File

@@ -1549,7 +1549,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
Log.i(TAG, "Selected: " + type);
switch (type) {
case AttachmentTypeSelector.ADD_GALLERY:
AttachmentManager.selectGallery(this, MEDIA_SENDER, recipient, sendButton.getSelectedTransport()); break;
AttachmentManager.selectGallery(this, MEDIA_SENDER, recipient, composeText.getTextTrimmed(), sendButton.getSelectedTransport()); break;
case AttachmentTypeSelector.ADD_DOCUMENT:
AttachmentManager.selectDocument(this, PICK_DOCUMENT); break;
case AttachmentTypeSelector.ADD_SOUND: