diff --git a/android/src/com/mapswithme/maps/base/BaseMwmFragmentActivity.java b/android/src/com/mapswithme/maps/base/BaseMwmFragmentActivity.java index 0cc61ee100..3a8d59c311 100644 --- a/android/src/com/mapswithme/maps/base/BaseMwmFragmentActivity.java +++ b/android/src/com/mapswithme/maps/base/BaseMwmFragmentActivity.java @@ -30,8 +30,8 @@ public class BaseMwmFragmentActivity extends AppCompatActivity getWindow().clearFlags(android.view.WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN); } - MwmApplication.get().initCounters(); MwmApplication.get().initNativeCore(); + MwmApplication.get().initCounters(); ViewServer.get(this).addWindow(this); attachDefaultFragment(); diff --git a/android/src/com/mapswithme/maps/settings/SettingsActivity.java b/android/src/com/mapswithme/maps/settings/SettingsActivity.java index a5c6997c9c..bf754752bd 100644 --- a/android/src/com/mapswithme/maps/settings/SettingsActivity.java +++ b/android/src/com/mapswithme/maps/settings/SettingsActivity.java @@ -56,8 +56,8 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference // TODO remove after refactoring to fragments // this initialisation is necessary hence Activity isn't extended from BaseMwmActivity // try to prevent possible crash if this is the only activity in application - MwmApplication.get().initCounters(); MwmApplication.get().initNativeCore(); + MwmApplication.get().initCounters(); addPreferencesFromResource(R.xml.preferences); initPreferences(); yotaSetup();