commit | d3849f54158bf1a370b9462b30ee36c15e7b02ea | [log] [tgz] |
---|---|---|
author | Craig Mautner <cmautner@google.com> | Thu Mar 27 13:19:29 2014 -0700 |
committer | Craig Mautner <cmautner@google.com> | Thu Mar 27 13:19:29 2014 -0700 |
tree | f4adfe219bbcd2744c3e3a477254c6fd4d7f60d0 | |
parent | 79e6578b6c7e8352f86942b99de4513133a1acdb [diff] |
Check return values for null. When a Display has been removed there is a delay until all of its windows have been removed. Therefore there is a possibility that WindowState.getDisplayContent() returns null. Guard against that possibility. Fixes bug 13616765. Change-Id: Ia2074d293b0e1bd4ca2cd14aeb4a2cc09ed9f41e