-
Luciano Pacheco authored
Update DirectoryModel.clearAndScan_ to stop requesting previous directory's content metadata, that caused issue 867974 where we were sending too many metadata requests. However we still need to fetch metadata for the currently selected directory so is available to use by menu/commands. Change the File Manager CommandHandler to update all commands when the metadata gets updated. This fixes the commands that should be disabled based on metadata properties canCopy, canCut, can*. Bug: 867974 Change-Id: I5254f70b8993a6e9b536f53543d1f3ed2ca0d87f Reviewed-on: https://chromium-review.googlesource.com/1161843Reviewed-by:
Stuart Langley <slangley@chromium.org> Commit-Queue: Stuart Langley <slangley@chromium.org> Cr-Commit-Position: refs/heads/master@{#580511}
76d39f0f