summaryrefslogtreecommitdiff
path: root/services/input/SpriteController.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2011-04-20 14:19:32 -0700
committer Mathias Agopian <mathias@google.com> 2011-04-20 14:26:11 -0700
commit9638e5c167be321643bf3f3ee39e3fb45541fb3b (patch)
treeec79a54e7f44db04b4b5cc7f09ba944f6836a258 /services/input/SpriteController.cpp
parent2a231f8435dba525c838779e0fd44710ea23cd98 (diff)
Get rid of the "pid" parameter from createSurface
Change-Id: I28635e3f803e6abe965d79998e305f54a202465d
Diffstat (limited to 'services/input/SpriteController.cpp')
-rw-r--r--services/input/SpriteController.cpp2
1 files changed, 1 insertions, 1 deletions
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<SurfaceControl> SpriteController::obtainSurface(int32_t width, int32_t height
ensureSurfaceComposerClient();
sp<SurfaceControl> 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.");