We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b43ce1 commit fe702ebCopy full SHA for fe702eb
1 file changed
base/src/main/java/com/smartdevicelink/managers/screen/menu/BaseVoiceCommandManager.java
@@ -56,8 +56,7 @@
56
57
abstract class BaseVoiceCommandManager extends BaseSubManager {
58
59
- List<VoiceCommand> voiceCommands;
60
- List<VoiceCommand> oldVoiceCommands;
+ List<VoiceCommand> voiceCommands, oldVoiceCommands;
61
62
List<AddCommand> inProgressUpdate;
63
@@ -127,7 +126,7 @@ public void setVoiceCommands(List<VoiceCommand> voiceCommands){
127
126
waitingOnHMIUpdate = false;
128
lastVoiceCommandId = voiceCommandIdMin;
129
updateIdsOnVoiceCommands(voiceCommands);
130
- oldVoiceCommands = new ArrayList<>(voiceCommands);
+ this.oldVoiceCommands = new ArrayList<>(this.voiceCommands);
131
this.voiceCommands = new ArrayList<>(voiceCommands);
132
133
update();
0 commit comments