commit | 860b52a6de901b75e98c4207abec1bb6504909aa | [log] [tgz] |
---|---|---|
author | Noel Gordon <noel@chromium.org> | Wed Jun 08 03:08:45 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 08 03:08:45 2022 |
tree | 8e7aea1e81177fef4e3459f1b9fd73641589590d | |
parent | ec6f891347badc31bbad543b15bf2435e1bfa34c [diff] |
filesapp: prevent console.errors due to Recents in MediaStore filter Per crbug.com/1333385/#c17 when Android MediaStore is enabled in Files app, console.errors and /var/log/chrome/chrome LOG(ERROR) can occur if the user presses any Recents button in the files app UI. Add a FilesFilter to prevent the error. If the feature is enabled, add a files filter to remove entry from disallowed volumes. This fix is a mitigation for now. TODO(RECENTS): consider updating the directoryModel.RecentContentScanner to handle disallowed volumes. Bug: 1333385, 1334442 Change-Id: I26501d7ac04bb1a6acdfa05b5322111042d20316 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3694537 Reviewed-by: Alex Danilo <adanilo@chromium.org> Commit-Queue: François Degros <fdegros@chromium.org> Reviewed-by: François Degros <fdegros@chromium.org> Cr-Commit-Position: refs/heads/main@{#1011805}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
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.
If you found a bug, please file it at https://crbug.com/new.