diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-10-08 19:13:57 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-10-08 19:13:57 -0700 |
commit | 2a09bb321930e1f782599ec902bca1db58b9af77 (patch) | |
tree | 4778c63779a43d78be45c99012163d1b15a4b8e3 /libs/gui | |
parent | cb55857bbde34a06c19dde3db5064d1717a0173e (diff) | |
download | frameworks_native-2a09bb321930e1f782599ec902bca1db58b9af77.zip frameworks_native-2a09bb321930e1f782599ec902bca1db58b9af77.tar.gz frameworks_native-2a09bb321930e1f782599ec902bca1db58b9af77.tar.bz2 |
Add blankDisplay/unblankDisplay to SurfaceComposerClient.
Bug: 7309812
Change-Id: Ia401d642094a46c62f0d26c65da1d11341e203a1
Diffstat (limited to 'libs/gui')
-rw-r--r-- | libs/gui/SurfaceComposerClient.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/gui/SurfaceComposerClient.cpp b/libs/gui/SurfaceComposerClient.cpp index 4165d01..3efd086 100644 --- a/libs/gui/SurfaceComposerClient.cpp +++ b/libs/gui/SurfaceComposerClient.cpp @@ -552,6 +552,14 @@ status_t SurfaceComposerClient::getDisplayInfo( return ComposerService::getComposerService()->getDisplayInfo(display, info); } +void SurfaceComposerClient::blankDisplay(const sp<IBinder>& token) { + ComposerService::getComposerService()->blank(token); +} + +void SurfaceComposerClient::unblankDisplay(const sp<IBinder>& token) { + ComposerService::getComposerService()->unblank(token); +} + // ---------------------------------------------------------------------------- ScreenshotClient::ScreenshotClient() |