don't request fragment before updating
This commit is contained in:
parent
52a43db6d6
commit
57fd763066
|
@ -771,12 +771,8 @@ public class ConversationActivity extends XmppActivity implements
|
||||||
super.onActivityResult(requestCode, resultCode, data);
|
super.onActivityResult(requestCode, resultCode, data);
|
||||||
if (resultCode == RESULT_OK) {
|
if (resultCode == RESULT_OK) {
|
||||||
if (requestCode == REQUEST_DECRYPT_PGP) {
|
if (requestCode == REQUEST_DECRYPT_PGP) {
|
||||||
ConversationFragment selectedFragment = (ConversationFragment) getFragmentManager()
|
mConversationFragment.hideSnackbar();
|
||||||
.findFragmentByTag("conversation");
|
mConversationFragment.updateMessages();
|
||||||
if (selectedFragment != null) {
|
|
||||||
selectedFragment.hideSnackbar();
|
|
||||||
selectedFragment.updateMessages();
|
|
||||||
}
|
|
||||||
} else if (requestCode == REQUEST_ATTACH_IMAGE_DIALOG) {
|
} else if (requestCode == REQUEST_ATTACH_IMAGE_DIALOG) {
|
||||||
mPendingImageUri = data.getData();
|
mPendingImageUri = data.getData();
|
||||||
if (xmppConnectionServiceBound) {
|
if (xmppConnectionServiceBound) {
|
||||||
|
|
Loading…
Reference in a new issue