[android] fix: Crash after panel animation completed.

This commit is contained in:
Alexander Marchuk 2016-04-05 15:54:06 +03:00
parent 8a0c4803d2
commit e238b69338

View file

@ -160,7 +160,7 @@ public class BaseMwmFragmentActivity extends AppCompatActivity
final Fragment fragment = Fragment.instantiate(this, name, args);
getSupportFragmentManager().beginTransaction()
.replace(resId, fragment, name)
.commit();
.commitAllowingStateLoss();
getSupportFragmentManager().executePendingTransactions();
if (completionListener != null)