summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuller, Alexander (A.) <alex.silvio.muller@gmail.com>2017-03-16 14:13:09 -0700
committerMuller, Alexander (A.) <alex.silvio.muller@gmail.com>2017-03-16 14:13:09 -0700
commitdc9dddbae99659d9c76c541bfaf6e114508bba7a (patch)
treeba6af118d21b010c50b62d08003464c958ba4f70
parent157e225f05ac1125e411c60b66b7196d9d2c8d0b (diff)
downloadsdl_ios-dc9dddbae99659d9c76c541bfaf6e114508bba7a.tar.gz
Updated appType to return when setting to nil with default value.hotfix/issue_579_apptype_reset
-rw-r--r--SmartDeviceLink/SDLLifecycleConfiguration.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLLifecycleConfiguration.m b/SmartDeviceLink/SDLLifecycleConfiguration.m
index f1b8acf7e..efc9014b2 100644
--- a/SmartDeviceLink/SDLLifecycleConfiguration.m
+++ b/SmartDeviceLink/SDLLifecycleConfiguration.m
@@ -92,6 +92,7 @@ NS_ASSUME_NONNULL_BEGIN
- (void)setAppType:(nullable SDLAppHMIType *)appType {
if (appType == nil) {
_appType = [SDLAppHMIType DEFAULT];
+ return;
}
_appType = appType;