Update file manager gear menu items on directory change
When there is a forced directory change (e.g. through unplugging a usb), if the gear menu is currently open, the menu items do not update their status with the new directory. This can cause, for example, the 'Format device' item to still be active. This change forces an update on directory change. Modify the formatDialogGearMenu test to test this behaviour too. Bug: 1007566 Change-Id: I8158a2630e6711fb9b8e371faf7f689325043cdd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1859810 Commit-Queue: Austin Tankiang <austinct@chromium.org> Reviewed-by:Luciano Pacheco <lucmult@chromium.org> Cr-Commit-Position: refs/heads/master@{#710702}
Showing
Please register or sign in to comment