Description[Hera] Be smarter about dismissing the callout
The runnable can run after the Activity has already died,
so be extra careful about getting rid of it.
* Let the ToolbarPhone know when the Activity is destroyed
when the ToolbarManager gets destroyed.
* Keep track of the Handler and the Runnable that call
#dismiss(), canceling it when necessary.
* Only let the Runnable dismiss the PopupWindow when it
still thinks it is showing.
BUG=582539, 607391
Committed: https://crrev.com/13e602c1b2457501beb8bd52715200a782d91aee
Cr-Commit-Position: refs/heads/master@{#390303}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Override show() #
Messages
Total messages: 10 (4 generated)
|