summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueConsumer.cpp
diff options
context:
space:
mode:
author Chia-I Wu <olv@google.com> 2017-05-17 14:36:16 -0700
committer Chia-I Wu <olv@google.com> 2017-05-17 14:43:00 -0700
commit06837418fe9fb0c6deeab7d62ac5bf65c7bb2b98 (patch)
tree8f63ce9edc6e37a210189078f1e585877d066a10 /libs/gui/BufferQueueConsumer.cpp
parent5e74c65a55e2297228e1c8cf7885420d6a946e80 (diff)
surfaceflinger: clear HWC layers in Layer::onRemoved
Explicitly destroy HWC layers in Layer::onRemoved rather than doing that implicitly in the destructor. The layer may be destructed by any thread that holds a sp<Layer>, but only the main thread should talk to the composer. Bug: 38151478 Bug: 37978067 Test: manual Change-Id: If6fcfaa5a70d247b751f2b4d9aec9eca890e3aa5
Diffstat (limited to 'libs/gui/BufferQueueConsumer.cpp')
0 files changed, 0 insertions, 0 deletions