Merge pull request #2743 from trashkalmar/panel-animator-crash

[android] fix: Crash after panel animation completed.
This commit is contained in:
Dmitry Yunitsky 2016-04-05 16:52:10 +03:00
commit 005e32afec

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)