Chromium Code Reviews
DescriptionFix a snackbar crash about leaking window
Sometimes the DownloadService will call showSnackbars() even when the activity is not visible. To track the activity's visibility, SnackbarManager now needs to know some activity's lifecycle signals. After this CL, all activities managing snackbars should call onStart and onStop of the SnackbarManager.
BUG=553569
Committed: https://crrev.com/91ecf3b9112abce19508faa97a7ef6504c1f22ae
Cr-Commit-Position: refs/heads/master@{#365751}
Patch Set 1 #Patch Set 2 : Remove the revert part #Patch Set 3 : nits #
Total comments: 1
Patch Set 4 : fix a bug in EBActivity #
Messages
Total messages: 14 (6 generated)
|
|||||||||||||||||||||||||||||||||||||