Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CCT treating intents as background due to timing issue
Sometimes CCT starts processing an intent before native initialization has finished, which means the tab may still be hidden. This causes CCT to treat these intents as background intents. In other cases, CCT may handle the intent before the application state has been updated to "running". To solve this, we can allow background navigations if incomingIntentRedirect is true. (cherry picked from commit ed79acd) Bug: 1307848 Change-Id: I4cb1ede3ad50bf112262178610fa3a3537776829 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3547199 Reviewed-by: Michael Thiessen <mthiesse@chromium.org> Commit-Queue: Clark DuVall <cduvall@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#984952} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3551496 Reviewed-by: Clark DuVall <cduvall@chromium.org> Reviewed-by: Krishna Govind <govind@chromium.org> Commit-Queue: Krishna Govind <govind@chromium.org> Owners-Override: Krishna Govind <govind@chromium.org> Auto-Submit: Krishna Govind <govind@chromium.org> Cr-Commit-Position: refs/branch-heads/4962@{#5} Cr-Branched-From: 0234f19-refs/heads/main@{#984778}
- Loading branch information
1 parent
b3a56fa
commit aa21594
Showing
1 changed file
with
33 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters