diff options
| author | 2014-03-27 13:19:29 -0700 | |
|---|---|---|
| committer | 2014-03-27 13:19:29 -0700 | |
| commit | d3849f54158bf1a370b9462b30ee36c15e7b02ea (patch) | |
| tree | f4adfe219bbcd2744c3e3a477254c6fd4d7f60d0 /libs/hwui/Program.cpp | |
| 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
Diffstat (limited to 'libs/hwui/Program.cpp')
0 files changed, 0 insertions, 0 deletions