diff options
Diffstat (limited to 'services/input/SpriteController.cpp')
-rw-r--r-- | services/input/SpriteController.cpp | 3 |
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."); |