From 9638e5c167be321643bf3f3ee39e3fb45541fb3b Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Wed, 20 Apr 2011 14:19:32 -0700 Subject: Get rid of the "pid" parameter from createSurface Change-Id: I28635e3f803e6abe965d79998e305f54a202465d --- services/input/SpriteController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services/input/SpriteController.cpp') diff --git a/services/input/SpriteController.cpp b/services/input/SpriteController.cpp index 2fd1f0ab2715..08cc75e631eb 100644 --- a/services/input/SpriteController.cpp +++ b/services/input/SpriteController.cpp @@ -376,7 +376,7 @@ sp SpriteController::obtainSurface(int32_t width, int32_t height ensureSurfaceComposerClient(); sp surfaceControl = mSurfaceComposerClient->createSurface( - getpid(), String8("Sprite"), 0, width, height, PIXEL_FORMAT_RGBA_8888); + String8("Sprite"), 0, width, height, PIXEL_FORMAT_RGBA_8888); if (surfaceControl == NULL || !surfaceControl->isValid() || !surfaceControl->getSurface()->isValid()) { LOGE("Error creating sprite surface."); -- cgit v1.2.3-59-g8ed1b