DescriptionFix incognito tab restore regression
It seems that the logic from the downstream file is different from the
CL that upstreamed it. This CL restores the downstream logic.
Consider this case:
type == TabLaunchType.FROM_LONGPRESS_BACKGROUND: FALSE
type == TabLaunchType.FROM_RESTORE: TRUE
mTabModelSelector.isIncognitoSelected(): FALSE
isNewTabIncognito: TRUE
In the downstream version willOpenInForeground -> TRUE
In the current version willOpenInForeground -> FALSE which
incorrectlys restores the incognito tab even thought it isn't
the current tab model.
BUG=383470
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277851
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|