commit | 2651fa94635a96d653038fb389a0dd827338f8d3 | [log] [tgz] |
---|---|---|
author | Michael Lentine <mlentine@google.com> | Mon Jul 14 13:48:55 2014 -0700 |
committer | Michael Lentine <mlentine@google.com> | Mon Jul 14 16:03:38 2014 -0700 |
tree | 8d9f7a788c296cc00eb81321f7eaf2197957e93c | |
parent | dc56bf721a9f29621fd57e1d861142fa9b2d3663 [diff] [blame] |
Modified SurfaceFlinger to implment setActiveConfig and getActiveConfig. This can be used to change the current display mode of the device. Change-Id: Icdc3fb58389b861dc77b68102083da6f7a96eccb Tested: None
diff --git a/services/surfaceflinger/DisplayHardware/HWComposer.h b/services/surfaceflinger/DisplayHardware/HWComposer.h index c62b924..8c083a4 100644 --- a/services/surfaceflinger/DisplayHardware/HWComposer.h +++ b/services/surfaceflinger/DisplayHardware/HWComposer.h
@@ -100,6 +100,9 @@ // set power mode status_t setPowerMode(int disp, int mode); + // set active config + status_t setActiveConfig(int disp, int mode); + // reset state when an external, non-virtual display is disconnected void disconnectDisplay(int disp);