summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2012-09-27 16:02:06 -0700
committerAndy McFadden <fadden@android.com>2012-09-28 13:04:16 -0700
commitc01a79d77b829e7de86ef137694e8ad708470ca1 (patch)
treedec2e131548693c8b9bae93352557faed7b3cec9 /include
parent4c2732779a11c92222958e7150162d4eaaab7b66 (diff)
downloadframeworks_native-c01a79d77b829e7de86ef137694e8ad708470ca1.zip
frameworks_native-c01a79d77b829e7de86ef137694e8ad708470ca1.tar.gz
frameworks_native-c01a79d77b829e7de86ef137694e8ad708470ca1.tar.bz2
Pass display arg to blank/unblank
This allows us to blank and unblank displays other than the built-in display (e.g. HDMI). Bug: 7240511 Change-Id: I89ea13f9e497be74c3e1231d0c62fb558e93e0f8
Diffstat (limited to 'include')
-rw-r--r--include/gui/ISurfaceComposer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gui/ISurfaceComposer.h b/include/gui/ISurfaceComposer.h
index a20caf9..5d2d8d7 100644
--- a/include/gui/ISurfaceComposer.h
+++ b/include/gui/ISurfaceComposer.h
@@ -99,10 +99,10 @@ public:
/* triggers screen off and waits for it to complete */
- virtual void blank() = 0;
+ virtual void blank(const sp<IBinder>& display) = 0;
/* triggers screen on and waits for it to complete */
- virtual void unblank() = 0;
+ virtual void unblank(const sp<IBinder>& display) = 0;
/* returns information about a display
* intended to be used to get information about built-in displays */