diff options
author | Tatenda Chipeperekwa <tatendac@codeaurora.org> | 2015-03-24 11:50:27 -0700 |
---|---|---|
committer | Tatenda Chipeperekwa <tatendac@codeaurora.org> | 2015-04-02 13:07:23 -0700 |
commit | 4207288d1e00d3b7bc627ec3bc1101d884144ff1 (patch) | |
tree | 08f2fec3d396a7d3beaaa4acfe45cee429abd0fe /libqservice | |
parent | 8b7a97f8e560a39d198c60134722b5c105d17c88 (diff) | |
download | display-4207288d1e00d3b7bc627ec3bc1101d884144ff1.tar.gz |
sde: Add support to set the display mode of the primary display
The display mode for the primary display can be set to either
command or video mode if the target supports this.
Syntax:
adb shell "service call display.qservice 29 i32 <DISPLAY_MODE>"
DISPLAY_MODE = 1 -> Video
2 -> Command
Change-Id: Iadf4beea8959a90a0b18f8286a094bbbdf18358a
Diffstat (limited to 'libqservice')
-rw-r--r-- | libqservice/IQService.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libqservice/IQService.h b/libqservice/IQService.h index 30578bc5..50545781 100644 --- a/libqservice/IQService.h +++ b/libqservice/IQService.h @@ -68,6 +68,7 @@ public: GET_ACTIVE_CONFIG = 26, //Get the current config index GET_CONFIG_COUNT = 27, //Get the number of supported display configs GET_DISPLAY_ATTRIBUTES_FOR_CONFIG = 28, //Get attr for specified config + SET_DISPLAY_MODE = 29, // Set display mode to command or video mode COMMAND_LIST_END = 400, }; |