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>2019-12-23 17:25:09 +0300
committerDaria Volvenkova <d.volvenkova@corp.mail.ru>2019-12-23 18:22:37 +0300
commit38e532067881a3c00a618dfc203cdac0989c9031 (patch)
tree4f8d5a76d67bcb3a3490c6d76dd118794f4ee2cd /map/framework.hpp
parent766818f2a464629501ce7b7a6800b56efa382743 (diff)
[android] Fixed crash during access to C++ framework place page object while it's not intitialized. It may happen when the app was killed/dumped by OS when PP is opened (launched by incoming intent or deeplin) and then core doesn't have place page info and synchronization between platform and C++ framework is broken. So, we don't restore place page info from java map object and it's by design for a while.android-951
Diffstat (limited to 'map/framework.hpp')
-rw-r--r--map/framework.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/map/framework.hpp b/map/framework.hpp
index f147e87d77..234194048b 100644
--- a/map/framework.hpp
+++ b/map/framework.hpp
@@ -408,7 +408,7 @@ public:
void SetPlacePageListeners(PlacePageEvent::OnOpen const & onOpen,
PlacePageEvent::OnClose const & onClose,
PlacePageEvent::OnUpdate const & onUpdate);
- bool IsPlacePageOpened() const { return m_currentPlacePageInfo.has_value(); }
+ bool HasPlacePageInfo() const { return m_currentPlacePageInfo.has_value(); }
place_page::Info const & GetCurrentPlacePageInfo() const;
place_page::Info & GetCurrentPlacePageInfo();