commit | a3adc73d27cce5065bdd6c2e2f10a8b3b1d1e9fd | [log] [tgz] |
---|---|---|
author | Lijin Shen <lazzzis@google.com> | Sat Jan 16 00:31:09 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Jan 16 00:31:09 2021 |
tree | 946eebd839e1e1d92ee1593eed1bac3abc094758 | |
parent | 6a0677b8b1a55970471d3e8d987ea26ea7d8ac84 [diff] |
[Messages] Remove static message utils to fix NPE MessageUtils resets the accessibility utils to null when one of the activities is destroyed, which causes the crash when another activity is about to show a message. This CL removes static message utils and passes in the a11y util directly to the classes which need a11y info. Bug: 1167098 Change-Id: I5404f35ec173ab25334e8108a27b4886f1bb9478 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2634122 Reviewed-by: Theresa <twellington@chromium.org> Reviewed-by: Pavel Yatsuk <pavely@chromium.org> Commit-Queue: Lijin Shen <lazzzis@google.com> Cr-Commit-Position: refs/heads/master@{#844307}
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.