commit | 4b1bf2dbc5a08c75804faf8cfdc01714ac9952b2 | [log] [tgz] |
---|---|---|
author | Cheick Cisse <cheickcisse@google.com> | Tue May 06 15:59:36 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 06 15:59:36 2025 |
tree | 0a2054cf0195206411007217027f19089945c01e | |
parent | 68ff23353bb2e6bf793a8d17b0f9f3e05c778791 [diff] |
[iOS][SigninPromo] Fix sign-in fullscreen promo crash with promo manager This CL updates the SigninFullscreenPromoSceneAgent to observe user sign-in changes. If the sign-in promo has been registered with the promo manager but not yet displayed, and the user signs in and either opts into history sync or declined it multiple times, the promo will be deregistered from the promo manager. In addition, this CL ensures that if the fullscreen signin promo is triggered when the user is already signed in and has either opted into history sync or has declined it multiple times, it will not result in a crash (presenting a nil navigation controller). Instead, it will terminate gracefully. Bug: 414711997 Change-Id: I995a66393a7a11fd3dec4ad7ad6a61a53e606638 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6509406 Reviewed-by: Jérôme Lebel <jlebel@chromium.org> Reviewed-by: Scott Yoder <scottyoder@google.com> Commit-Queue: Cheick Cisse <cheickcisse@google.com> Reviewed-by: Rohit Rao <rohitrao@chromium.org> Cr-Commit-Position: refs/heads/main@{#1456386}
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.