diff options
author | Bilal Alsharifi <bilal.alsharifi@gmail.com> | 2021-09-13 09:56:45 -0400 |
---|---|---|
committer | Bilal Alsharifi <bilal.alsharifi@gmail.com> | 2021-09-13 09:56:45 -0400 |
commit | 878312ffe7d737d586e332888ddb8c557a6b08b3 (patch) | |
tree | 33216b9f892bfad29e973f71829bcef838b30f2d | |
parent | 8fc8e787affb177d0a5235f9ddf43f1a37c8302a (diff) | |
download | sdl_android-878312ffe7d737d586e332888ddb8c557a6b08b3.tar.gz |
Remove unnecessary call to transferCellIDsFromCells()
-rw-r--r-- | base/src/main/java/com/smartdevicelink/managers/screen/menu/MenuReplaceOperation.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/base/src/main/java/com/smartdevicelink/managers/screen/menu/MenuReplaceOperation.java b/base/src/main/java/com/smartdevicelink/managers/screen/menu/MenuReplaceOperation.java index 0e4f288f1..41e54bc19 100644 --- a/base/src/main/java/com/smartdevicelink/managers/screen/menu/MenuReplaceOperation.java +++ b/base/src/main/java/com/smartdevicelink/managers/screen/menu/MenuReplaceOperation.java @@ -128,7 +128,6 @@ class MenuReplaceOperation extends Task { final List<MenuCell> newKeeps = filterMenuCellsWithStatusList(updatedMenu, addMenuStatus, MenuCellState.KEEP); // Old kept cells ids need to be moved to the new kept cells so that submenu changes have correct parent ids - // We will transfer the ids for subCells later transferCellIDsFromCells(oldKeeps, newKeeps); // Transfer new cells' listeners to the old cells, which are stored in the current menu @@ -254,8 +253,6 @@ class MenuReplaceOperation extends Task { final List<MenuCell> oldSubcellKeeps = filterMenuCellsWithStatusList(oldKeptCells.get(index).getSubCells(), deleteMenuStatus, MenuCellState.KEEP); final List<MenuCell> newSubcellKeeps = filterMenuCellsWithStatusList(newKeptCells.get(index).getSubCells(), addMenuStatus, MenuCellState.KEEP); - transferCellIDsFromCells(oldSubcellKeeps, newSubcellKeeps); - transferCellListenersFromCells(newSubcellKeeps, oldSubcellKeeps); sendDeleteMenuCells(cellsToDelete, new CompletionListener() { |