mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "Add invalid config const to the AIDL interface."
This commit is contained in:
@@ -85,4 +85,5 @@ interface IComposerClient {
|
||||
const int EX_UNSUPPORTED = 8;
|
||||
const int EX_SEAMLESS_NOT_ALLOWED = 9;
|
||||
const int EX_SEAMLESS_NOT_POSSIBLE = 10;
|
||||
const int INVALID_CONFIGURATION = 2147483647;
|
||||
}
|
||||
|
||||
@@ -89,6 +89,12 @@ interface IComposerClient {
|
||||
*/
|
||||
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.
|
||||
*
|
||||
@@ -282,6 +288,7 @@ interface IComposerClient {
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user