Update input after enabling SMS

Fixes #6363
Closes #6387
// FREEBIE
This commit is contained in:
FeuRenard 2017-03-15 02:05:48 +01:00 committed by Moxie Marlinspike
parent 4f0422ee94
commit a421630789

View File

@ -367,7 +367,11 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
Log.w(TAG, "onActivityResult called: " + reqCode + ", " + resultCode + " , " + data);
super.onActivityResult(reqCode, resultCode, data);
if ((data == null && reqCode != TAKE_PHOTO) || (resultCode != RESULT_OK && reqCode != SMS_DEFAULT)) return;
if ((data == null && reqCode != TAKE_PHOTO && reqCode != SMS_DEFAULT) ||
(resultCode != RESULT_OK && reqCode != SMS_DEFAULT))
{
return;
}
switch (reqCode) {
case PICK_IMAGE: