diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2018-06-20 15:22:10 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2018-06-20 15:22:10 -0400 |
commit | 1bcdbbae515d28c4cb24d9bf30d05c546b638f73 (patch) | |
tree | c54d817462c3ff51d691e47a4e7442cb8cbdf5ab | |
parent | f6b685688eae6cb81641c1c8139051a9d0245705 (diff) | |
download | sdl_ios-1bcdbbae515d28c4cb24d9bf30d05c546b638f73.tar.gz |
Fix backward compatibility for video streamable statefeature/issue_929_onHMIStatus_video_streaming
-rw-r--r-- | SmartDeviceLink/SDLStreamingVideoLifecycleManager.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLStreamingVideoLifecycleManager.m b/SmartDeviceLink/SDLStreamingVideoLifecycleManager.m index 544dda5c3..9ffe1ac9a 100644 --- a/SmartDeviceLink/SDLStreamingVideoLifecycleManager.m +++ b/SmartDeviceLink/SDLStreamingVideoLifecycleManager.m @@ -735,7 +735,7 @@ typedef void(^SDLVideoCapabilityResponseHandler)(SDLVideoStreamingCapability *_N } - (BOOL)isHmiStateVideoStreamCapable { - return ([self.videoStreamingState isEqualToEnum:SDLVideoStreamingStateStreamable] + return (![self.videoStreamingState isEqualToEnum:SDLVideoStreamingStateNotStreamable] && ([self.hmiLevel isEqualToEnum:SDLHMILevelLimited] || [self.hmiLevel isEqualToEnum:SDLHMILevelFull])); } |