1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-01-04 18:28:08 -05:00

Avoid NullPointerException

This commit is contained in:
cketti 2013-04-18 05:43:11 +02:00
parent 4890cd9ea0
commit 51ad31a513

View File

@ -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;
}