address cold start issue with opening multiple tabs in IOS14
With Xcode 12.3 beta and iOS14, there was an issue with Open URLs in Chrome In Incognito Siri shortcut during cold start. For example, open a few NTP tabs in Incognito and then kill the application. Then when triggering the shortcut, the URLs are not loaded. It seems like the order of the restoration functions during cold start changed, so that what worked before no longer works. To solve this issue, a function similar to how Open URL in Chrome is handled in ContinueUserActivity is written and is modified to handle multiple URLs. This way, the tabs are opened directly after ContinueUserActivity is invoked and no longer depend on the restoration functions during cold start. Bug:1113529 Change-Id: Ie6a8c91cad307bb5e510d300695a4490116a7491 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2336185Reviewed-by:Mark Cogan <marq@chromium.org> Commit-Queue: Mark Cogan <marq@chromium.org> Cr-Commit-Position: refs/heads/master@{#795985}
Showing
Please register or sign in to comment