Merge "Update ActionProvider to support dynamically building submenus."