You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DebugTool.logWarning(TAG, "SdlSession is not created yet.");
195
195
return;
@@ -204,7 +204,7 @@ private void tryStartVideoStream(boolean isEncrypted, VideoStreamingParameters p
204
204
return;
205
205
}
206
206
207
-
synchronized (session) {
207
+
synchronized (SESSION_LOCK) {
208
208
if (afterPendingRestart || !videoServiceStartResponseReceived || !videoServiceStartResponse//If we haven't started the service before
209
209
|| (videoServiceStartResponse && isEncrypted && !session.isServiceProtected(SessionType.NAV))) { //Or the service has been started but we'd like to start an encrypted one
if (minimumProtocolVersion != null && minimumProtocolVersion.isNewerThan(version) == 1) {
967
969
DebugTool.logWarning(TAG, String.format("Disconnecting from head unit, the configured minimum protocol version %s is greater than the supported protocol version %s", minimumProtocolVersion, getProtocolVersion()));
968
-
synchronized (session) {
970
+
synchronized (SESSION_LOCK) {
969
971
if (session != null) {
970
972
session.endService(SessionType.RPC);
971
973
}
@@ -978,7 +980,7 @@ public void onSessionStarted(int sessionID, Version version, SystemInfo systemIn
978
980
if (systemInfo != null && lifecycleListener != null) {
979
981
didCheckSystemInfo = true;
980
982
List<TransportRecord> activeTransports = null;
981
-
synchronized (session) {
983
+
synchronized (SESSION_LOCK) {
982
984
if (session != null) {
983
985
activeTransports = session.getActiveTransports();
984
986
}
@@ -987,7 +989,7 @@ public void onSessionStarted(int sessionID, Version version, SystemInfo systemIn
0 commit comments