diff options
| author | 2012-07-16 14:58:11 -0700 | |
|---|---|---|
| committer | 2012-07-16 14:58:11 -0700 | |
| commit | f9176a93a5c9061fe001c91bca50dd0a58d54f10 (patch) | |
| tree | f4b0455ebf6dc7f5a722917866e254934eff0c29 /libs/gui/SurfaceComposerClient.cpp | |
| parent | 4bb0164f8ac26a71113f44b4d482cf8167b5b5ee (diff) | |
Remove freezeDisplay(), which is no-op.
Change-Id: I2b70249a1545636fd6d98b58057b22f9529cad21
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
| -rw-r--r-- | libs/gui/SurfaceComposerClient.cpp | 14 | 
1 files changed, 0 insertions, 14 deletions
| diff --git a/libs/gui/SurfaceComposerClient.cpp b/libs/gui/SurfaceComposerClient.cpp index 8fa21671eb..8c953f7607 100644 --- a/libs/gui/SurfaceComposerClient.cpp +++ b/libs/gui/SurfaceComposerClient.cpp @@ -542,20 +542,6 @@ ssize_t SurfaceComposerClient::getNumberOfDisplays()  // ---------------------------------------------------------------------------- -status_t SurfaceComposerClient::freezeDisplay(DisplayID dpy, uint32_t flags) -{ -    // This has been made a no-op because it can cause Gralloc buffer deadlocks. -    return NO_ERROR; -} - -status_t SurfaceComposerClient::unfreezeDisplay(DisplayID dpy, uint32_t flags) -{ -    // This has been made a no-op because it can cause Gralloc buffer deadlocks. -    return NO_ERROR; -} - -// ---------------------------------------------------------------------------- -  ScreenshotClient::ScreenshotClient()      : mWidth(0), mHeight(0), mFormat(PIXEL_FORMAT_NONE) {  } |