diff options
author | dfalcantara <dfalcantara@chromium.org> | 2014-12-18 16:32:44 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-19 00:33:37 +0000 |
commit | 4cfcc649c795ec5604fbf352000914998c34918c (patch) | |
tree | 1051349ad880a053ab74ffcc33b2b4418fd5d82c /net | |
parent | 82928851066c764444ce00b34fc620499d1329c2 (diff) | |
download | chromium_src-4cfcc649c795ec5604fbf352000914998c34918c.zip chromium_src-4cfcc649c795ec5604fbf352000914998c34918c.tar.gz chromium_src-4cfcc649c795ec5604fbf352000914998c34918c.tar.bz2 |
Make DocumentTabModelImpl aware of zombie Activities
With the CipherKeyActivity sitting in between DocumentActivity and
IncognitoDocumentActivity, it's become possible to end up in situations
where an Activity doesn't have it's onStop() method called but still
be in the process of being finished(). This leads to situations
where the Incognito tab disappears from the Android Recents list but
is not yet dead.
I'm guessing there are other potential situations where this could happen,
especially since it has manifested across a wide swathe of Android L versions,
so the DocumentTabListImpl is being changed to account for zombie tabs
that should be dead but aren't yet. These are kept in the TabList until
the DocumentTabModelSelector is informed that the Activity is really, truly
destroyed by the ApplicationStatusListener.
BUG=443330
Review URL: https://codereview.chromium.org/818483002
Cr-Commit-Position: refs/heads/master@{#309114}
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions