Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f27a7b3 authored by Hridya Valsaraju's avatar Hridya Valsaraju
Browse files

Add command to read fastboot variable 'variant'

Bug: 79480454
Test: fastboot getvar variant
Change-Id: I04f588f09d03e121c066449b0a7223f51d2e59af
parent b4484686
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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);

};