mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 19:52:17 -05:00
Avoid NullPointerException
This commit is contained in:
parent
4890cd9ea0
commit
51ad31a513
@ -768,7 +768,7 @@ public class MessageViewFragment extends SherlockFragment implements OnClickList
|
||||
private void removeDialog(int dialogId) {
|
||||
FragmentManager fm = getFragmentManager();
|
||||
|
||||
if (isRemoving() || isDetached()) {
|
||||
if (fm == null || isRemoving() || isDetached()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user