Skip to content

Commit d59d366

Browse files
Fix vr optional issue
1 parent df717f0 commit d59d366

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

base/src/main/java/com/smartdevicelink/managers/screen/choiceset/CheckChoiceVROptionalOperation.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,15 @@ public void onResponse(int correlationId, RPCResponse response) {
8080
isVROptional = true;
8181
deleteTestChoiceSet();
8282
}else{
83+
DebugTool.logWarning("Head unit doesn't support choices with no VR.");
8384
sendTestChoiceWithVR();
8485
}
8586
}
8687

8788
@Override
8889
public void onError(int correlationId, Result resultCode, String info){
89-
DebugTool.logError("There was an error in the check choice vr optional operation. Send test choice with no VR failed. Error: " + info + " resultCode: " + resultCode);
90-
isVROptional = false;
91-
if (checkChoiceVROptionalInterface != null){
92-
checkChoiceVROptionalInterface.onError(info);
93-
}
90+
DebugTool.logWarning("Head unit doesn't support choices with no VR. Error: " + info + " resultCode: " + resultCode);
91+
sendTestChoiceWithVR();
9492
}
9593
});
9694

0 commit comments

Comments
 (0)