fix crash when trying to use fragmenttransaction in logintask if
activity was closed while trying to login
This commit is contained in:
parent
417ded36af
commit
8e21ba0c94
@ -964,7 +964,11 @@ public class MainActivity extends FragmentActivity implements FeedsFragment.OnFe
|
|||||||
ft.replace(R.id.feeds_fragment, frag);
|
ft.replace(R.id.feeds_fragment, frag);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
ft.commit();
|
ft.commit();
|
||||||
|
} catch (IllegalStateException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user