diff options
author | Александр Зацепин <az@mapswithme.com> | 2017-10-17 18:56:57 +0300 |
---|---|---|
committer | Roman Kuznetsov <r.kuznetsow@gmail.com> | 2017-10-17 19:13:58 +0300 |
commit | e89ba68c6f777adcc3bab8f4a16629cf1383cca5 (patch) | |
tree | eb42ffa7fe3054a56b3032b00e60cbb7093a8615 | |
parent | a96276a80c1066ced350b189dcf11c7834d2ed79 (diff) |
[android] Fixed PP drawing during changin the orientation from landscape to portraitbeta-1071
-rw-r--r-- | android/src/com/mapswithme/maps/MwmActivity.java | 2 |
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()); } |