diff options
| author | 2012-10-08 19:13:57 -0700 | |
|---|---|---|
| committer | 2012-10-08 19:13:57 -0700 | |
| commit | 2a09bb321930e1f782599ec902bca1db58b9af77 (patch) | |
| tree | 4778c63779a43d78be45c99012163d1b15a4b8e3 /include/gui/SurfaceComposerClient.h | |
| parent | cb55857bbde34a06c19dde3db5064d1717a0173e (diff) | |
Add blankDisplay/unblankDisplay to SurfaceComposerClient.
Bug: 7309812
Change-Id: Ia401d642094a46c62f0d26c65da1d11341e203a1
Diffstat (limited to 'include/gui/SurfaceComposerClient.h')
| -rw-r--r-- | include/gui/SurfaceComposerClient.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/gui/SurfaceComposerClient.h b/include/gui/SurfaceComposerClient.h index bae3886156..581ec8d477 100644 --- a/include/gui/SurfaceComposerClient.h +++ b/include/gui/SurfaceComposerClient.h @@ -67,6 +67,12 @@ public: // Get information about a display static status_t getDisplayInfo(const sp<IBinder>& display, DisplayInfo* info); + /* triggers screen off and waits for it to complete */ + static void blankDisplay(const sp<IBinder>& display); + + /* triggers screen on and waits for it to complete */ + static void unblankDisplay(const sp<IBinder>& display); + // ------------------------------------------------------------------------ // surface creation / destruction |