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:
authorIlya Grechuhin <i.grechuhin@mapswithme.com>2015-06-03 15:40:38 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:49:51 +0300
commit1ac06d7429aa136793568e222fb150ea9fdcab82 (patch)
tree2fa24787c9b3721a405dcbec2126d2982dfcd99e /platform
parent2a1c6347aded0f76e997a0869810d84089ac47dd (diff)
[ios] Added disable standby on routing, follow, active download modes.
Diffstat (limited to 'platform')
-rw-r--r--platform/http_thread_apple.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/http_thread_apple.mm b/platform/http_thread_apple.mm
index 03ecca9281..a3ed5e102c 100644
--- a/platform/http_thread_apple.mm
+++ b/platform/http_thread_apple.mm
@@ -25,6 +25,7 @@ static id<DownloadIndicatorProtocol> downloadIndicator = nil;
[m_connection cancel];
[m_connection release];
#ifdef OMIM_OS_IPHONE
+ [downloadIndicator enableStandby];
[downloadIndicator disableDownloadIndicator];
#endif
[super dealloc];
@@ -83,6 +84,7 @@ static id<DownloadIndicatorProtocol> downloadIndicator = nil;
}
#ifdef OMIM_OS_IPHONE
+ [downloadIndicator disableStandby];
[downloadIndicator enableDownloadIndicator];
#endif