diff options
author | Arsentiy Milchakov <milcars@mapswithme.com> | 2017-11-01 17:25:08 +0300 |
---|---|---|
committer | Yuri Gorshenin <mipt.vi002@gmail.com> | 2017-11-01 17:38:12 +0300 |
commit | 7502c57c7334f53d2d6bfe02ab3459d25b9bca66 (patch) | |
tree | 471776ebb6604b9e5d3888a257b2623fd045545b | |
parent | 75423c65dcf3a6c8634e74e4b664c772153f4a74 (diff) |
[storage] review fixesbeta-1092android-gr-764
-rw-r--r-- | storage/storage.cpp | 1 | ||||
-rw-r--r-- | storage/storage.hpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/storage/storage.cpp b/storage/storage.cpp index 39eb888580..2e24b50650 100644 --- a/storage/storage.cpp +++ b/storage/storage.cpp @@ -1456,6 +1456,7 @@ void Storage::OnDiffStatusReceived(diffs::Status const status) if (!isSuccess) { m_failedCountries.insert(countryId); + NotifyStatusChangedForHierarchy(countryId); return; } diff --git a/storage/storage.hpp b/storage/storage.hpp index 1f1240948b..f63056aed4 100644 --- a/storage/storage.hpp +++ b/storage/storage.hpp @@ -662,6 +662,8 @@ private: void LoadDiffScheme(); void ApplyDiff(TCountryId const & countryId, function<void(bool isSuccess)> const & fn); + // Should be called once on startup, downloading process should be suspended until this method + // was not called. Do not call this method manually. void OnDiffStatusReceived(diffs::Status const status) override; }; |