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
if (minimumProtocolVersion != null && minimumProtocolVersion.isNewerThan(version) == 1) {
946
950
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()));
947
-
session.endService(SessionType.RPC);
951
+
if (session != null) {
952
+
session.endService(SessionType.RPC);
953
+
}
948
954
clean();
949
955
onClose("Protocol version not supported: " + version, null, SdlDisconnectedReason.MINIMUM_PROTOCOL_VERSION_HIGHER_THAN_SUPPORTED);
950
956
return;
951
957
}
952
958
953
959
if (systemInfo != null && lifecycleListener != null) {
0 commit comments