summaryrefslogtreecommitdiff
path: root/services/input/SpriteController.cpp
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2012-08-27 17:16:52 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2012-08-27 17:16:53 -0700
commitdc7d8008eceb08850142fcd77a97404b4fbe688d (patch)
treeec86be2fed3987132c6a7283a5dd10721460e9ef /services/input/SpriteController.cpp
parentac66d4a8d653331a03c27d5444467fd943503c9b (diff)
parent64a55af0ac700baecb0877235eb42caac59a3560 (diff)
Merge "Add plumbing for new surface flinger display API." into jb-mr1-dev
Diffstat (limited to 'services/input/SpriteController.cpp')
-rw-r--r--services/input/SpriteController.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/input/SpriteController.cpp b/services/input/SpriteController.cpp
index 5bbaa48f3bf1..8bb9d7f42601 100644
--- a/services/input/SpriteController.cpp
+++ b/services/input/SpriteController.cpp
@@ -369,7 +369,8 @@ sp<SurfaceControl> SpriteController::obtainSurface(int32_t width, int32_t height
ensureSurfaceComposerClient();
sp<SurfaceControl> surfaceControl = mSurfaceComposerClient->createSurface(
- String8("Sprite"), width, height, PIXEL_FORMAT_RGBA_8888);
+ String8("Sprite"), width, height, PIXEL_FORMAT_RGBA_8888,
+ ISurfaceComposerClient::eHidden);
if (surfaceControl == NULL || !surfaceControl->isValid()
|| !surfaceControl->getSurface()->isValid()) {
ALOGE("Error creating sprite surface.");