mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 12:38:33 +00:00
Fix possible NPE in ConversationListFragment.
This commit is contained in:
@@ -984,7 +984,11 @@ public class ConversationListFragment extends MainFragment implements ActionMode
|
|||||||
startupStopwatch.split("first-render");
|
startupStopwatch.split("first-render");
|
||||||
startupStopwatch.stop(TAG);
|
startupStopwatch.stop(TAG);
|
||||||
mediaControllerOwner.getVoiceNoteMediaController().finishPostpone();
|
mediaControllerOwner.getVoiceNoteMediaController().finishPostpone();
|
||||||
requireCallback().getSearchToolbar().get();
|
|
||||||
|
if (getParentFragment() != null) {
|
||||||
|
requireCallback().getSearchToolbar().get();
|
||||||
|
}
|
||||||
|
|
||||||
if (getContext() != null) {
|
if (getContext() != null) {
|
||||||
ConversationFragment.prepare(getContext());
|
ConversationFragment.prepare(getContext());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user