summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/tests/surface/surface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'services/surfaceflinger/tests/surface/surface.cpp')
-rw-r--r--services/surfaceflinger/tests/surface/surface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/surfaceflinger/tests/surface/surface.cpp b/services/surfaceflinger/tests/surface/surface.cpp
index 5265f91..8e1c3fe 100644
--- a/services/surfaceflinger/tests/surface/surface.cpp
+++ b/services/surfaceflinger/tests/surface/surface.cpp
@@ -39,9 +39,9 @@ int main(int argc, char** argv)
sp<SurfaceControl> surfaceControl = client->createSurface(
getpid(), 0, 160, 240, PIXEL_FORMAT_RGB_565);
- client->openTransaction();
+ SurfaceComposerClient::openGlobalTransaction();
surfaceControl->setLayer(100000);
- client->closeTransaction();
+ SurfaceComposerClient::closeGlobalTransaction();
// pretend it went cross-process
Parcel parcel;