diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java index 4b86e46485..b6abc0069d 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java @@ -281,7 +281,7 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven FirstUsageWelcomeFragment.SHOW = false; getSupportFragmentManager().beginTransaction() .add(R.id.fragmentContainer, new FirstUsageWelcomeFragment(), - FirstUsageWelcomeFragment.TAG).commit(); + FirstUsageWelcomeFragment.TAG).commitAllowingStateLoss(); } mapActions.updateDrawerMenu(); drawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout); diff --git a/OsmAnd/src/net/osmand/plus/firstusage/FirstUsageWizardFragment.java b/OsmAnd/src/net/osmand/plus/firstusage/FirstUsageWizardFragment.java index 6a85bc8417..22f63e6303 100644 --- a/OsmAnd/src/net/osmand/plus/firstusage/FirstUsageWizardFragment.java +++ b/OsmAnd/src/net/osmand/plus/firstusage/FirstUsageWizardFragment.java @@ -727,7 +727,7 @@ public class FirstUsageWizardFragment extends Fragment implements OsmAndLocation activity.getSupportFragmentManager() .beginTransaction() .replace(R.id.fragmentContainer, fragment, FirstUsageWizardFragment.TAG) - .commit(); + .commitAllowingStateLoss(); } }