diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2017-03-17 12:54:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-17 12:54:46 -0400 |
commit | 06422a5c65eb39d9c85cfc1cd1631444807bb5a6 (patch) | |
tree | ba6af118d21b010c50b62d08003464c958ba4f70 | |
parent | 157e225f05ac1125e411c60b66b7196d9d2c8d0b (diff) | |
parent | dc9dddbae99659d9c76c541bfaf6e114508bba7a (diff) | |
download | sdl_ios-06422a5c65eb39d9c85cfc1cd1631444807bb5a6.tar.gz |
Merge pull request #580 from smartdevicelink/hotfix/issue_579_apptype_reset
Setting nil appType should set it to default value.
-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; |