diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2019-08-14 12:46:47 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2019-08-14 12:46:47 -0400 |
commit | da76e94db687c167aaa78b926ca0f726569656fc (patch) | |
tree | a32b83a7b7f8db8ea82b4fe90cb421e1ae7e03d9 | |
parent | fadf17584a27e69715aae8e2877d8b0ec49d2a13 (diff) | |
download | sdl_ios-bugfix/issue_1363_choice_set_manager_success_with_error.tar.gz |
Switch and to orbugfix/issue_1363_choice_set_manager_success_with_error
-rw-r--r-- | SmartDeviceLink/SDLPresentChoiceSetOperation.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLPresentChoiceSetOperation.m b/SmartDeviceLink/SDLPresentChoiceSetOperation.m index 1cb770484..d66255619 100644 --- a/SmartDeviceLink/SDLPresentChoiceSetOperation.m +++ b/SmartDeviceLink/SDLPresentChoiceSetOperation.m @@ -129,7 +129,7 @@ NS_ASSUME_NONNULL_BEGIN - (void)sdl_presentChoiceSet { __weak typeof(self) weakself = self; [self.connectionManager sendConnectionRequest:self.performInteraction withResponseHandler:^(__kindof SDLRPCRequest * _Nullable request, __kindof SDLRPCResponse * _Nullable response, NSError * _Nullable error) { - if (!response.success.boolValue && error != nil) { + if (!response.success.boolValue || error != nil) { SDLLogE(@"Presenting choice set failed with response: %@, error: %@", response, error); weakself.internalError = error; |