From 2a09bb321930e1f782599ec902bca1db58b9af77 Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Mon, 8 Oct 2012 19:13:57 -0700 Subject: Add blankDisplay/unblankDisplay to SurfaceComposerClient. Bug: 7309812 Change-Id: Ia401d642094a46c62f0d26c65da1d11341e203a1 --- include/gui/SurfaceComposerClient.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/gui/SurfaceComposerClient.h b/include/gui/SurfaceComposerClient.h index bae3886..581ec8d 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& display, DisplayInfo* info); + /* triggers screen off and waits for it to complete */ + static void blankDisplay(const sp& display); + + /* triggers screen on and waits for it to complete */ + static void unblankDisplay(const sp& display); + // ------------------------------------------------------------------------ // surface creation / destruction -- cgit v1.1