Fix two crashes from the incognito notification.
1.) The repost form warning should use dismissAllowingStateLoss
for the tab destroy call as it can happen in the background.
For this dialog in particular, we do not want to restore
it in the event of a restart, so loss of UI state is not
only acceptable, but likely what we want always.
2.) Handle the case of tabbed activities in the process of startup
when clicking the incognito notification. This just kills
any tabbed activities that aren't fully running because it
has sync issues with incognito tabs that might have been read
already.
BUG=856320
Change-Id: Ic3506d20d42cb915328394f18dcad5574d8dca7e
Reviewed-on: https://chromium-review.googlesource.com/1114279Reviewed-by:
Theresa <twellington@chromium.org>
Commit-Queue: Ted Choc <tedchoc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#570257}
Showing
Please register or sign in to comment