Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Temporarily disable opening file:// on Android TM
In Android TM for apps targeting API 33, READ_EXTERNAL_STORAGE is split into specific permissions for READ_MEDIA_*. For now, skip requesting READ_EXTERNAL_STORAGE when the user navigates to file:// URLs. Opening the file:// will still fail, but the user won't first be prompted to accept a permission that has no effect. (cherry picked from commit 9501a42) Bug: 1316672 Change-Id: I6fbcd6466f9ecda544712151bb3cdc2e04496897 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3587279 Reviewed-by: Ted Choc <tedchoc@chromium.org> Commit-Queue: Theresa Sullivan <twellington@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#993351} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3594606 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/branch-heads/5005@{#35} Cr-Branched-From: 5b4d945-refs/heads/main@{#992738}
- Loading branch information