diff options
| author | 2022-02-01 21:13:56 +0000 | |
|---|---|---|
| committer | 2022-02-01 21:13:56 +0000 | |
| commit | 5cc75e347f53b5a06b989a2a69bdba9831c2ec32 (patch) | |
| tree | 5115c3b735114abd51c97f05a025ddd6cc27b5f2 /services/surfaceflinger/SurfaceFlinger.cpp | |
| parent | 0793bb709a812aed1bf59a18351f803b6f1a2763 (diff) | |
| parent | d9e54691c35c715c096d25e656911f818e1fb706 (diff) | |
Merge "Ensure deferred cleanup when display is off"
Diffstat (limited to 'services/surfaceflinger/SurfaceFlinger.cpp')
| -rw-r--r-- | services/surfaceflinger/SurfaceFlinger.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index fabb3fea5d..893dc2a5d2 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp @@ -2410,6 +2410,7 @@ void SurfaceFlinger::postComposition() { mTimeStats->recordDisplayEventConnectionCount(sfConnections + appConnections); if (isDisplayConnected && !display->isPoweredOn()) { + getRenderEngine().cleanupPostRender(); return; } |