commit | 91b1df2ff45e4ab1db0c7fe80287d0b2faa09e77 | [log] [tgz] |
---|---|---|
author | Peiyong Lin <lpy@google.com> | Mon Jun 18 18:00:16 2018 -0700 |
committer | Peiyong Lin <lpy@google.com> | Tue Jun 19 13:26:20 2018 -0700 |
tree | 276314a21cd6869af68b3aa62daffbe8620fc55c | |
parent | 5d51a061ead239c49e9a7fef2159adb00dddad21 [diff] |
[SurfaceFlinger] Checking nullptr for HWC layer. There were several places where we didn't check nullptr when accessing HWC layer, which results in function call on nullptr when external display was disconnected. This patch makes sure we check HWC layer before calling functions on it. BUG: 80325674 Test: Build, flash, boot, watch videos Change-Id: I302ad4eeea5c196daadcdccb596dac60b02d3845