commit | 0874d2b9214d077f957329172a25dc2f7dd13e96 | [log] [tgz] |
---|---|---|
author | Peiyong Lin <lpy@google.com> | Tue Sep 04 09:39:34 2018 -0700 |
committer | Peiyong Lin <lpy@google.com> | Tue Sep 04 10:02:48 2018 -0700 |
tree | 9d60001a63247efdcf28e66da82201e5dad0a53b | |
parent | 2a1310d030fd46c1a9ba7722b15d46cef3d888a2 [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 Change-Id: I302ad4eeea5c196daadcdccb596dac60b02d3845 Merged-In: I302ad4eeea5c196daadcdccb596dac60b02d3845