summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/tests/VirtualDisplay_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'services/surfaceflinger/tests/VirtualDisplay_test.cpp')
-rw-r--r--services/surfaceflinger/tests/VirtualDisplay_test.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/services/surfaceflinger/tests/VirtualDisplay_test.cpp b/services/surfaceflinger/tests/VirtualDisplay_test.cpp
index 18e08062c0..9fd2227bba 100644
--- a/services/surfaceflinger/tests/VirtualDisplay_test.cpp
+++ b/services/surfaceflinger/tests/VirtualDisplay_test.cpp
@@ -52,8 +52,6 @@ TEST_F(VirtualDisplayTest, VirtualDisplayDestroyedSurfaceReuse) {
virtualDisplay.clear();
// Sync here to ensure the display was completely destroyed in SF
t.apply(true);
- // add another sync since we are deferring the display destruction
- t.apply(true);
sp<Surface> surface = new Surface(mProducer);
sp<ANativeWindow> window(surface);