summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2018-06-20 15:22:10 -0400
committerJoel Fischer <joeljfischer@gmail.com>2018-06-20 15:22:10 -0400
commit1bcdbbae515d28c4cb24d9bf30d05c546b638f73 (patch)
treec54d817462c3ff51d691e47a4e7442cb8cbdf5ab
parentf6b685688eae6cb81641c1c8139051a9d0245705 (diff)
downloadsdl_ios-1bcdbbae515d28c4cb24d9bf30d05c546b638f73.tar.gz
Fix backward compatibility for video streamable statefeature/issue_929_onHMIStatus_video_streaming
-rw-r--r--SmartDeviceLink/SDLStreamingVideoLifecycleManager.m2
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]));
}