diff options
author | Muller, Alexander (A.) <alex.silvio.muller@gmail.com> | 2017-03-16 14:13:09 -0700 |
---|---|---|
committer | Muller, Alexander (A.) <alex.silvio.muller@gmail.com> | 2017-03-16 14:13:09 -0700 |
commit | dc9dddbae99659d9c76c541bfaf6e114508bba7a (patch) | |
tree | ba6af118d21b010c50b62d08003464c958ba4f70 /SmartDeviceLink | |
parent | 157e225f05ac1125e411c60b66b7196d9d2c8d0b (diff) | |
download | sdl_ios-dc9dddbae99659d9c76c541bfaf6e114508bba7a.tar.gz |
Updated appType to return when setting to nil with default value.hotfix/issue_579_apptype_reset
Diffstat (limited to 'SmartDeviceLink')
-rw-r--r-- | SmartDeviceLink/SDLLifecycleConfiguration.m | 1 |
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; |