Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FilesTrash] Remove empty current directory check for empty-trash cmd
The check for whether the current directory is empty before emptying Trash was incorrect as the state of the current directory should make no difference to the emptying action. Remove this check. The "empty trash?" dialog will continue to be shown, even if there are no files in Trash. Bug: b/284362857 Change-Id: Ia3ba2589450af506f7616e44d3731bb375d488a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4569974 Commit-Queue: Ben Reich <benreich@chromium.org> Reviewed-by: Ben Reich <benreich@chromium.org> Cr-Commit-Position: refs/heads/main@{#1150172}
- Loading branch information