commit | 34f1886107825b4495741a034f15e1f1edacf95c | [log] [tgz] |
---|---|---|
author | yueg <yueg@google.com> | Fri Sep 01 15:44:58 2017 -0700 |
committer | Eric Erfanian <erfanian@google.com> | Thu Sep 07 15:50:10 2017 +0000 |
tree | 034a0eda9ce7599f774e9d2afea2e5236c718403 | |
parent | ee5bce98231b96bc7f3ecf2d12276571786863f5 [diff] |
Disable action on bubble when hiding, and reable it when showing. Allowing click or moving bubble when hiding bubble makes no sense. Also, hide() and swapViewHolders() (called when expand/collapse) may add/remove the same view to windowManager and cause crash. Before: https://drive.google.com/a/google.com/file/d/0Bz1rQbdSCWSKRDEyT2JDdk9LVDA After: https://drive.google.com/a/google.com/file/d/0Bz1rQbdSCWSKUE53aldna0RFVFE Test: BubbleTest PiperOrigin-RevId: 167334496 Change-Id: Id7f5ce4bdfa074840c1e9fac981abad59e261c0e