Commit df2390a
Craig Mautner
Don't die(immediate) if from performTraversals.
The Drive application was calling PopupWindow.dismiss from within
onMeasure. This caused dispatchDetachedFromWindow to be called
from within performTraversals. Since dispatchDetachedFromWindow
destroys much of what performTraversals uses this was a disaster
waiting to happen.
This fix adds a check for seeing if die(immediate=true) is being
called from within performTraversals. If it is then die doesn't
execute doDie immediately, but instead treats it as a call to
die(immediate=false).
Fixes bug 6836841.
Change-Id: I833289e12c19fd33c17a715b2ed2adcf8388573a1 parent ac137b3 commit df2390a
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
217 | 220 | | |
218 | 221 | | |
219 | 222 | | |
| |||
1104 | 1107 | | |
1105 | 1108 | | |
1106 | 1109 | | |
| 1110 | + | |
1107 | 1111 | | |
1108 | 1112 | | |
1109 | 1113 | | |
| |||
1842 | 1846 | | |
1843 | 1847 | | |
1844 | 1848 | | |
| 1849 | + | |
| 1850 | + | |
1845 | 1851 | | |
1846 | 1852 | | |
1847 | 1853 | | |
| |||
3956 | 3962 | | |
3957 | 3963 | | |
3958 | 3964 | | |
3959 | | - | |
| 3965 | + | |
| 3966 | + | |
| 3967 | + | |
3960 | 3968 | | |
3961 | 3969 | | |
3962 | 3970 | | |
| |||
0 commit comments