hwc2: Add binder command to switch modes
Use adb shell service call display.qservice 34 i32 <disp> i32 <mode>
to switch the display mode. Only valid modes in graphics.h that are
enumerated in the calibration XML will work
Change-Id: I450ea6b8ba8001d8458ea8503098f7056ff958cf
CRs-Fixed: 1034841
diff --git a/libqservice/IQService.h b/libqservice/IQService.h
index 49467db..d25a06d 100644
--- a/libqservice/IQService.h
+++ b/libqservice/IQService.h
@@ -73,6 +73,7 @@
MIN_HDCP_ENCRYPTION_LEVEL_CHANGED = 31,
GET_BW_TRANSACTION_STATUS = 32, //Client can query BW transaction status.
SET_LAYER_MIXER_RESOLUTION = 33, // Enables client to set layer mixer resolution.
+ SET_COLOR_MODE = 34, // Overrides the QDCM mode on the display
COMMAND_LIST_END = 400,
};