summaryrefslogtreecommitdiffstats
path: root/services/input
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-04-20 14:19:32 -0700
committerMathias Agopian <mathias@google.com>2011-04-20 14:26:11 -0700
commit9638e5c167be321643bf3f3ee39e3fb45541fb3b (patch)
treeec79a54e7f44db04b4b5cc7f09ba944f6836a258 /services/input
parent2a231f8435dba525c838779e0fd44710ea23cd98 (diff)
downloadframeworks_base-9638e5c167be321643bf3f3ee39e3fb45541fb3b.zip
frameworks_base-9638e5c167be321643bf3f3ee39e3fb45541fb3b.tar.gz
frameworks_base-9638e5c167be321643bf3f3ee39e3fb45541fb3b.tar.bz2
Get rid of the "pid" parameter from createSurface
Change-Id: I28635e3f803e6abe965d79998e305f54a202465d
Diffstat (limited to 'services/input')
-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 2fd1f0a..08cc75e 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.");