[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/+/2634122Reviewed-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}
Showing
Please register or sign in to comment