diff options
author | Ilya Grechuhin <i.grechuhin@mapswithme.com> | 2015-06-03 15:40:38 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:49:51 +0300 |
commit | 1ac06d7429aa136793568e222fb150ea9fdcab82 (patch) | |
tree | 2fa24787c9b3721a405dcbec2126d2982dfcd99e /platform | |
parent | 2a1c6347aded0f76e997a0869810d84089ac47dd (diff) |
[ios] Added disable standby on routing, follow, active download modes.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/http_thread_apple.mm | 2 |
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 |