commit | 10303af4b9ba8510d05ca130a1545f0b303a2721 | [log] [tgz] |
---|---|---|
author | Charles Hager <clhager@google.com> | Thu Feb 27 01:23:23 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 27 01:23:23 2025 |
tree | 80bd7b9024602d4c344de4ebf772cdea292e9328 | |
parent | ab33e679a7cc22ce384fa0d9184a9316d4c802d5 [diff] |
Pad snackbars in SettingsActivity when edge-to-edge SettingsActivity creates the SnackbarManager with a parent view of the android.R.id.content, which is an issue when drawing edge-to-edge, since that base content view will be drawing underneath the system bars. This change adds #getContentView() to ChromeBaseAppCompatActivity, which will return the proper content view for the activity. Before: https://screenshot.googleplex.com/6wrywD2fGvLCbMA.png After: https://screenshot.googleplex.com/9wwkQ4GRnUTUNA8.png Bug: 398937046 Change-Id: Ibfcebff816a8f19f091e299ff581aa3188f32afa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6302322 Reviewed-by: Wenyu Fu <wenyufu@chromium.org> Commit-Queue: Charles Hager <clhager@google.com> Cr-Commit-Position: refs/heads/main@{#1425489}
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.