File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
sdl_android/src/main/java/com/smartdevicelink/proxy Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -6271,11 +6271,6 @@ public void onNotified(RPCNotification notification) {
62716271 }
62726272 }
62736273 });
6274-
6275- VideoStreamingCapability capability = (VideoStreamingCapability )_systemCapabilityManager .getCapability (SystemCapabilityType .VIDEO_STREAMING );
6276- if (capability != null && capability .getIsHapticSpatialDataSupported ()){
6277- hapticManager = new HapticInterfaceManager (iSdl );
6278- }
62796274 }
62806275
62816276 public void startVideoStreaming (Class <? extends SdlRemoteDisplay > remoteDisplayClass , VideoStreamingParameters parameters , boolean encrypted ){
@@ -6284,6 +6279,10 @@ public void startVideoStreaming(Class<? extends SdlRemoteDisplay> remoteDisplayC
62846279 Log .e (TAG , "Error starting video service" );
62856280 return ;
62866281 }
6282+ VideoStreamingCapability capability = (VideoStreamingCapability )_systemCapabilityManager .getCapability (SystemCapabilityType .VIDEO_STREAMING );
6283+ if (capability != null && capability .getIsHapticSpatialDataSupported ()){
6284+ hapticManager = new HapticInterfaceManager (internalInterface );
6285+ }
62876286 this .remoteDisplayClass = remoteDisplayClass ;
62886287 try {
62896288 encoder .init (context ,streamListener ,parameters );
You can’t perform that action at this time.
0 commit comments