mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 10:44:41 +00:00
Add command to read fastboot variable 'variant'
Bug: 79480454 Test: fastboot getvar variant Change-Id: I04f588f09d03e121c066449b0a7223f51d2e59af
This commit is contained in:
@@ -39,4 +39,15 @@ interface IFastboot {
|
||||
* FAILURE_UNKNOWN for an invalid/unsupported command.
|
||||
*/
|
||||
doOemCommand(string oemCmd) generates (Result result);
|
||||
|
||||
/**
|
||||
* Returns an OEM-defined string indicating the variant of the device, for
|
||||
* example, US and ROW.
|
||||
*
|
||||
* @response variant Indicates the device variant.
|
||||
* @response result Returns the status SUCCESS if the operation is successful,
|
||||
* FAILURE_UNKNOWN otherwise.
|
||||
*/
|
||||
getVariant() generates (string variant, Result result);
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user