We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08def32 commit 74e2a64Copy full SHA for 74e2a64
1 file changed
base/src/main/java/com/smartdevicelink/session/BaseSdlSession.java
@@ -254,8 +254,8 @@ protected void processControlService(ProtocolMessage msg) {
254
byte[] jsonData;
255
JSONObject jsonObject = new JSONObject();
256
try {
257
- jsonObject.put("id", 254);
258
- jsonObject.put("text", "Error value for testing");
+ jsonObject.put("id", SecurityQueryErrorCode.ERROR_UNKNOWN_INTERNAL_ERROR.getValue());
+ jsonObject.put("text", SecurityQueryErrorCode.ERROR_UNKNOWN_INTERNAL_ERROR.getName());
259
jsonData = jsonObject.toString().getBytes();
260
} catch (JSONException e) {
261
DebugTool.logError(TAG, "JSON exception when constructing handshake error Notification");
0 commit comments