summaryrefslogtreecommitdiff
path: root/docs/html/sdk/sdk_toc.cs
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2011-11-10 14:31:37 -0800
committerSvetoslav Ganov <svetoslavganov@google.com>2011-11-10 14:31:41 -0800
commit06f938e8aa56cd89ab0bdb04c8b946392c428dd1 (patch)
treef5dc2200baf35de38fd0be20c29e5279e38dfb8a /docs/html/sdk/sdk_toc.cs
parente562287c85662457864255028cd4bc3b04f13750 (diff)
PopupWindow dismiss() can get into a recursive loop.
1. The dismiss method in a PopupWindow is first removing the popup View from the WindowManager and then if the content View differs from the popup View the former is removed from the latter. Then dismiss() clears the dismissed flag so a subsequent call to dismiss() is a NOP. However, removing a View both from the WindowManager and from its parent ViewGroup triggers stuff wich may lead to a subsequent call to dismiss(). This leads to a stack overflow exception. bug:5598944 Change-Id: I2aeeda591be3e9aa98fec1ee17ea8f0e746e6992
Diffstat (limited to 'docs/html/sdk/sdk_toc.cs')
0 files changed, 0 insertions, 0 deletions