If you turn on don't keep activities from Android, force trigger a promo dialog (via various command lines or in code), then hit home. You'll see an exception logged to the terminal about leaking a window.
AlwaysDismissedDialog handles this case, so we should just extend from it.
Your change meets the bar and is auto-approved for M60. Please go ahead and merge the CL to branch 3112 manually. Please contact milestone owner if you have questions.
Owners: amineer@(Android), cmasso@(iOS), josafat@(ChromeOS), bustamante@(Desktop)
For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Comment 1 by bugdroid1@chromium.org
, Jun 1 2017