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
onClose("UnregisterAppInterface response received from head unit", null, SdlDisconnectedReason.APP_INTERFACE_UNREG);
502
506
break;
503
507
}
504
508
}
@@ -936,6 +940,7 @@ public void onSessionStarted(int sessionID, Version version, SystemInfo systemIn
936
940
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()));
937
941
session.endService(SessionType.RPC);
938
942
clean();
943
+
onClose("Protocol version not supported: " + version, null, SdlDisconnectedReason.MINIMUM_PROTOCOL_VERSION_HIGHER_THAN_SUPPORTED);
939
944
return;
940
945
}
941
946
@@ -946,6 +951,7 @@ public void onSessionStarted(int sessionID, Version version, SystemInfo systemIn
946
951
DebugTool.logWarning(TAG, "Disconnecting from head unit, the system info was not accepted.");
947
952
session.endService(SessionType.RPC);
948
953
clean();
954
+
onClose("System not supported", null, SdlDisconnectedReason.DEFAULT);
0 commit comments