Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'android/src/com/mapswithme/maps/MwmActivity.java')
-rw-r--r--android/src/com/mapswithme/maps/MwmActivity.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/src/com/mapswithme/maps/MwmActivity.java b/android/src/com/mapswithme/maps/MwmActivity.java
index c0e70e8706..f989c2d088 100644
--- a/android/src/com/mapswithme/maps/MwmActivity.java
+++ b/android/src/com/mapswithme/maps/MwmActivity.java
@@ -931,6 +931,8 @@ public class MwmActivity extends BaseMwmFragmentActivity
{
if (mPlacePage != null && !mPlacePage.isHidden())
{
+ if (isChangingConfigurations())
+ mPlacePage.setState(State.HIDDEN);
outState.putInt(STATE_PP, mPlacePage.getState().ordinal());
outState.putParcelable(STATE_MAP_OBJECT, mPlacePage.getMapObject());
}