mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-07-08 15:04:21 +01:00
Guard against fragment disappearing before callback.
// FREEBIE
This commit is contained in:
@@ -1037,6 +1037,10 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||
ConversationFragment fragment = (ConversationFragment) getSupportFragmentManager()
|
||||
.findFragmentById(R.id.fragment_content);
|
||||
|
||||
if (fragment == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (refreshFragment) {
|
||||
fragment.reload(recipients, threadId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user