commit | 0bbd5548ac4b8d6f1c28ee5c83363af3fe29a650 | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Fri Nov 11 10:41:26 2016 -0800 |
committer | Sunny Goyal <sunnygoyal@google.com> | Fri Nov 11 13:43:13 2016 -0800 |
tree | e103595168a4ab8a759dc5c091be0d004d50d59c | |
parent | 47a96054d97c042bd97b61795accbb9a59fd8ad0 [diff] |
Moving the setContentView at the end of onCreate In multi-window mode, when the activity is resized, the window might exist even before onCreate, which could call onAttachToWindow while they are being inflated. Many Views in Launcher assume onAttachToWindow to be called after onCreate has completed. Bug: 32745705 Change-Id: Id6ee68826c4f3cc579880540812fd8ed834f8267