Loading services/surfaceflinger/Layer.cpp +5 −4 Original line number Diff line number Diff line Loading @@ -163,6 +163,11 @@ void Layer::onFirstRef() { } Layer::~Layer() { sp<Client> c(mClientRef.promote()); if (c != 0) { c->detachLayer(this); } for (auto& point : mRemoteSyncPoints) { point->setTransactionApplied(); } Loading Loading @@ -258,10 +263,6 @@ void Layer::onSidebandStreamChanged() { // the layer has been remove from the current state list (and just before // it's removed from the drawing state list) void Layer::onRemoved() { sp<Client> c(mClientRef.promote()); if (c != 0) { c->detachLayer(this); } mSurfaceFlingerConsumer->abandon(); } Loading Loading
services/surfaceflinger/Layer.cpp +5 −4 Original line number Diff line number Diff line Loading @@ -163,6 +163,11 @@ void Layer::onFirstRef() { } Layer::~Layer() { sp<Client> c(mClientRef.promote()); if (c != 0) { c->detachLayer(this); } for (auto& point : mRemoteSyncPoints) { point->setTransactionApplied(); } Loading Loading @@ -258,10 +263,6 @@ void Layer::onSidebandStreamChanged() { // the layer has been remove from the current state list (and just before // it's removed from the drawing state list) void Layer::onRemoved() { sp<Client> c(mClientRef.promote()); if (c != 0) { c->detachLayer(this); } mSurfaceFlingerConsumer->abandon(); } Loading