commit | 7a4287cce8091f3b33b3f963265feda1616df752 | [log] [tgz] |
---|---|---|
author | Naseer Ahmed <naseer@codeaurora.org> | Tue Mar 26 18:11:41 2013 -0400 |
committer | Naseer Ahmed <naseer@codeaurora.org> | Thu Mar 28 12:09:20 2013 -0400 |
tree | 67eee9f186f41eaafa21b4fd8e3be383e8194c62 | |
parent | 86acaa7718a7dd3575fc21fa6a11231c7b80cfc5 [diff] |
hwc: NULL check on buffer handle In some cases it is seen that we receive a NULL handle on suspend/resume. One such test case is open browser, suspend device, resume device, unlock screen. Since we rely on the handle to get the format, make sure it is not null. Change-Id: Ia476887a831df33a50b2939a46c143b9c207ea9b