Add command to read fastboot variable 'variant'
Bug: 79480454 Test: fastboot getvar variant Change-Id: I04f588f09d03e121c066449b0a7223f51d2e59af
This commit is contained in:
parent
b4484686ab
commit
3f27a7b373
1 changed files with 11 additions and 0 deletions
|
@ -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);
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue