Revert "[Android][CCT] Restrict secondary-toolbar RemoteViews to 1P" This reverts commit 8a2476998be1693cc409e35eb99e81c57ac3782c. Reason for revert: This is limiting it to 1P. Reverting for now. Failure Link: <LINK TO FAILURE> Original change's description: > [Android][CCT] Restrict secondary-toolbar RemoteViews to 1P > > Only honor CustomTabsIntent.EXTRA_REMOTEVIEWS and the matching > CustomTabsSession#setSecondaryToolbarViews update path when the > launching intent / session is from a trusted first-party caller, > mirroring the existing handling of > EXTRA_ENABLE_EMBEDDED_MEDIA_EXPERIENCE. RemoteViews supplied by > arbitrary apps may carry setImageViewUri actions that load and decode > caller-controlled content:// data in the browser process, which is not > something we want to do on behalf of third-party embedders. > > TAG=agy > > Bug: 523486138 > Change-Id: I169ec798a2d8a236174309a9c9dc9d6b4798f2cd > Fixed: 523486138 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8085647 > Commit-Queue: Moe Adel <adelm@google.com> > Reviewed-by: Jinsuk Kim <jinsukkim@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1661350} Bug: 523486138 Bug: 523486138 No-Presubmit: true No-Tree-Checks: true No-Try: true Change-Id: Ia3f274cf4f1987d63684ac19e723837dd1d60474 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8089063 Reviewed-by: Sinan Sahin <sinansahin@google.com> Commit-Queue: Moe Adel <adelm@google.com> Cr-Commit-Position: refs/heads/main@{#1661435}
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.