Files app: Fix rename from select all Change selectAll() to force a leadIndex if there is none, because having something selected without a leadIndex doesn't make sense. leadIndex is the currently focused item. This fixes renaming from context menu or selection menu when user has selected files only via "select all", without selecting any file file before the "select all" command. Bug: 1051899 Fixed: 1051899 Change-Id: I2a2f565af1341abd89f8bc9900e8a5b10595ee0c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2104737 Commit-Queue: Luciano Pacheco <lucmult@chromium.org> Auto-Submit: Luciano Pacheco <lucmult@chromium.org> Reviewed-by: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#750787}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.