Add command to read fastboot variable 'variant'

am: 338b0c70ef

Change-Id: I031587f672bd7931016eb8e56ddd7c6985c5151a
This commit is contained in:
Hridya Valsaraju
2018-09-28 13:31:05 -07:00
committed by android-build-merger

View File

@@ -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);
};