diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index 3a802ff80..97b02ce60 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp @@ -1406,7 +1406,7 @@ status_t SurfaceFlinger::removeLayer(const sp& layer) Mutex::Autolock _l(mStateLock); status_t err = purgatorizeLayer_l(layer); if (err == NO_ERROR) - setTransactionFlags(eTransactionNeeded); + setTransactionFlags(eDisplayTransactionNeeded); return err; } @@ -1712,7 +1712,7 @@ status_t SurfaceFlinger::onLayerRemoved(const sp& client, SurfaceID sid) if (layer != 0) { err = purgatorizeLayer_l(layer); if (err == NO_ERROR) { - setTransactionFlags(eTransactionNeeded); + setTransactionFlags(eDisplayTransactionNeeded); } } return err;