summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2018-04-27 13:50:35 -0400
committerJoel Fischer <joeljfischer@gmail.com>2018-04-27 13:50:35 -0400
commit23a20d7efde15761fff9d3d9e5952e5b5ca4de61 (patch)
tree5068b32a741532c20d5cdf0dede116fa3595d671
parent030682e3eebeabcf9c2fc4d736da2d82332fac80 (diff)
downloadsdl_ios-23a20d7efde15761fff9d3d9e5952e5b5ca4de61.tar.gz
Add a comment
-rw-r--r--SmartDeviceLink/SDLMenuManager.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLMenuManager.m b/SmartDeviceLink/SDLMenuManager.m
index bbb25f15e..d140f25ad 100644
--- a/SmartDeviceLink/SDLMenuManager.m
+++ b/SmartDeviceLink/SDLMenuManager.m
@@ -397,6 +397,7 @@ UInt32 const MenuCellIdMin = 1;
}
}
+ // If we don't check for this and only update when not in the menu, there can be IN_USE errors, especially with submenus. We also don't want to encourage changing out the menu while the user is using it for usability reasons.
SDLSystemContext oldSystemContext = self.currentSystemContext;
self.currentSystemContext = hmiStatus.systemContext;