Files App: Display grayed out Rename action

This CL changes a condition when to show Rename action and when to gray
it out. As a result, Rename action is visible on every removable device
regardless of its file system type and read-only flag. If removable
device has an unsupported file type or read-only flag is set then Rename
action will be unclickable(grayed out) but visible.

Bug: 274041
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: Ibb30ae43a8435e5b43757af227b7d7adb4adec61
Reviewed-on: https://chromium-review.googlesource.com/637293
Reviewed-by: Naoki Fukino <fukino@chromium.org>
Commit-Queue: Klemen Kozjek <klemenko@google.com>
Cr-Commit-Position: refs/heads/master@{#497707}
1 file changed