summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLLifecycleManager.m
diff options
context:
space:
mode:
authoryangjun <yangjun4@iauto.com>2020-06-03 16:04:33 +0800
committeryangjun <yangjun4@iauto.com>2020-06-03 16:04:33 +0800
commitafad386fe62733d695e09d054d1f2e1983bebc04 (patch)
tree3ef625966b58c010d351710f8808b8baf104b110 /SmartDeviceLink/SDLLifecycleManager.m
parentb24edd6c31b2b2c3c6ce371522c744fdba6dc177 (diff)
downloadsdl_ios-afad386fe62733d695e09d054d1f2e1983bebc04.tar.gz
correspond 1606 fifth pointing out.
Diffstat (limited to 'SmartDeviceLink/SDLLifecycleManager.m')
-rw-r--r--SmartDeviceLink/SDLLifecycleManager.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLLifecycleManager.m b/SmartDeviceLink/SDLLifecycleManager.m
index ae1cbf82f..8e3183e44 100644
--- a/SmartDeviceLink/SDLLifecycleManager.m
+++ b/SmartDeviceLink/SDLLifecycleManager.m
@@ -401,7 +401,10 @@ NSString *const BackgroundTaskTransportName = @"com.sdl.transport.backgroundTask
if (supportsNewDelegate) {
configUpdate = [self.delegate managerShouldUpdateLifecycleToLanguage:actualLanguage hmiLanguage:actualHMILanguage];
} else if (supportsOldDelegate) {
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
configUpdate = [self.delegate managerShouldUpdateLifecycleToLanguage:actualLanguage];
+#pragma clang diagnostic pop
}
if (configUpdate) {