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:
authorАлександр Зацепин <az@mapswithme.com>2017-10-17 18:56:57 +0300
committerRoman Kuznetsov <r.kuznetsow@gmail.com>2017-10-17 19:13:58 +0300
commite89ba68c6f777adcc3bab8f4a16629cf1383cca5 (patch)
treeeb42ffa7fe3054a56b3032b00e60cbb7093a8615
parenta96276a80c1066ced350b189dcf11c7834d2ed79 (diff)
[android] Fixed PP drawing during changin the orientation from landscape to portraitbeta-1071
-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());
}