commit | 9aee712d79ce78e76bb57bfc8f96097dc6e9a3b5 | [log] [tgz] |
---|---|---|
author | Ram Indani <ramindani@google.com> | Thu Nov 04 18:44:23 2021 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Nov 04 18:44:23 2021 +0000 |
tree | 87e0ffcd25fab571128b6c33e55ffc2336fbb86c | |
parent | bd7ec5a769c563fbe141f5332227684dff808d9b [diff] | |
parent | 6e822dfbef4330bfe673dad2cac549a2e87045fa [diff] |
Merge "Add invalid config const to the AIDL interface."
diff --git a/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/current/android/hardware/graphics/composer3/IComposerClient.aidl b/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/current/android/hardware/graphics/composer3/IComposerClient.aidl index 5c37018..d7cab2b 100644 --- a/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/current/android/hardware/graphics/composer3/IComposerClient.aidl +++ b/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/current/android/hardware/graphics/composer3/IComposerClient.aidl
@@ -85,4 +85,5 @@ const int EX_UNSUPPORTED = 8; const int EX_SEAMLESS_NOT_ALLOWED = 9; const int EX_SEAMLESS_NOT_POSSIBLE = 10; + const int INVALID_CONFIGURATION = 2147483647; }
diff --git a/graphics/composer/aidl/android/hardware/graphics/composer3/IComposerClient.aidl b/graphics/composer/aidl/android/hardware/graphics/composer3/IComposerClient.aidl index 2a9545d..230980d 100644 --- a/graphics/composer/aidl/android/hardware/graphics/composer3/IComposerClient.aidl +++ b/graphics/composer/aidl/android/hardware/graphics/composer3/IComposerClient.aidl
@@ -90,6 +90,12 @@ const int EX_SEAMLESS_NOT_POSSIBLE = 10; /** + * Integer.MAX_VALUE is reserved for the invalid configuration. + * This should not be returned as a valid configuration. + */ + const int INVALID_CONFIGURATION = 0x7fffffff; + + /** * Creates a new layer on the given display. * * @param display is the display on which to create the layer. @@ -282,6 +288,7 @@ /** * Returns handles for all of the valid display configurations on this * display. + * This should never return INVALID_CONFIGURATION as a valid value. * * @param display is the display to query. *