catch illegal state not illegal argument on popBackStack()
This commit is contained in:
parent
201d8ab398
commit
c05acccf17
|
@ -470,7 +470,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
|
||||||
if (fm.getBackStackEntryCount() > 0) {
|
if (fm.getBackStackEntryCount() > 0) {
|
||||||
try {
|
try {
|
||||||
fm.popBackStack();
|
fm.popBackStack();
|
||||||
} catch (IllegalArgumentException e) {
|
} catch (IllegalStateException e) {
|
||||||
Log.w(Config.LOGTAG,"Unable to pop back stack after pressing home button");
|
Log.w(Config.LOGTAG,"Unable to pop back stack after pressing home button");
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue