We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6a73e8 commit 5dca01bCopy full SHA for 5dca01b
1 file changed
base/src/main/java/com/smartdevicelink/managers/screen/menu/BaseMenuManager.java
@@ -176,7 +176,7 @@ public void setMenuCells(@NonNull List<MenuCell> cells){
176
// We are in NONE or the menu is in use, bail out of here
177
waitingOnHMIUpdate = true;
178
waitingUpdateMenuCells = new ArrayList<>();
179
- if (clonedCells != null) {
+ if (clonedCells != null && !clonedCells.isEmpty()) {
180
waitingUpdateMenuCells.addAll(clonedCells);
181
}
182
return;
@@ -190,7 +190,7 @@ public void setMenuCells(@NonNull List<MenuCell> cells){
190
191
// copy new list
192
menuCells = new ArrayList<>();
193
194
menuCells.addAll(clonedCells);
195
196
0 commit comments