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
Copy file name to clipboardExpand all lines: base/src/main/java/com/smartdevicelink/managers/screen/menu/VoiceCommandUpdateOperation.java
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,15 @@ private void start() {
53
53
onFinished();
54
54
return;
55
55
}
56
+
// Check if a voiceCommand has already been uploaded and update its VoiceCommandSelectionListener to
57
+
// prevent calling the wrong listener in a case where a voice command was uploaded and then its voiceCommandSelectionListener was updated in another upload.
58
+
if (pendingVoiceCommands != null && pendingVoiceCommands.size() > 0) {
59
+
for (VoiceCommandvoiceCommand : pendingVoiceCommands) {
60
+
if (currentVoiceCommands.contains(voiceCommand)) {
0 commit comments