This is needed to allow apps to detect whether the opened menu is a system menu or a user menu. CORE-19061