commit | 66c0364e1b636b29cd5168ec7723c0a2ac820ca7 | [log] [tgz] |
---|---|---|
author | Wiwit Rifa'i <wiwitrifai@google.com> | Wed Jan 10 20:02:21 2024 +0800 |
committer | Wiwit Rifa'i <wiwitrifai@google.com> | Wed Jan 10 20:29:52 2024 +0800 |
tree | 1f5098d1b2c4c14d3c7a7ad4e5146bb63614100b | |
parent | bc8b211771175d0925d11a81728375407e66f062 [diff] |
libhwc2.1: fix null pointer crash in setupHWResource mainDisp could be null if all displays are OFF. This could happen when the client is destoyed after setting all displays to OFF. Bug: 304976052 Test: atest VtsHalGraphicsComposer3_TargetTest Change-Id: I3a3687d1681a5b61d207aaf4c1212b058b9cf704