arc: Fix Arc app item context menu.
This fixes arc context menu. Original bug requests to make "Show app info" menu item disable when Arc is not ready only. This also includes following related fixes: 1. "Show app info" is disabled until Arc is started. 2. Before "Uninstall" was not shown when Arc is not started. This also makes it disable in this case for consistency. 3. Add separator before "Uninstall/Show app info" group regardless "Uninstall" item is shown or not. Before, "Show app info" menu was not separated in case uninstall was not present. 4. "Uninstall" shortcut is available always, regardless of Arc enabled or disabled. 5. No menu items for non-existing Arc app. TEST=Manually on the device. TEST=Extended unit_tests. BUG=652741 BUG=b/30646620 Review-Url: https://codereview.chromium.org/2393453002 Cr-Commit-Position: refs/heads/master@{#422831}
Showing
This diff is collapsed.
Please register or sign in to comment