[TIMOB-847] Android: Setting background color on heavyweight window crashes
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:54:25.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.3.0 |
Components | Android |
Labels | android, defect |
Reporter | Don Thorp |
Assignee | Don Thorp |
Created | 2011-04-15T02:37:47.000+0000 |
Updated | 2011-04-17T01:54:25.000+0000 |
Description
setModelListener was getting called too early in the process, before the activity had been set for the heavyweight window.
(from [118290694a4a4dbfaea7100ac5b1bc8860cc9355]) [#847 state:resolved] setting background properties on a heavyweight window caused an NPE since the windowActivity had not yet been set. I moved the setModelListener for both lightweight and heavyweight windows to the appropriate location. http://github.com/appcelerator/titanium_mobile/commit/118290694a4a4dbfaea7100ac5b1bc8860cc9355"> http://github.com/appcelerator/titanium_mobile/commit/118290694a4a4...