Merge "Revert "Add command to pass oem commands to HAL""
am: 8f8c756522

Change-Id: Ic498179e19cc4c2c19e82b5cbd7699bfce67279d
diff --git a/fastboot/1.0/IFastboot.hal b/fastboot/1.0/IFastboot.hal
index 5e42c17..653fd79 100644
--- a/fastboot/1.0/IFastboot.hal
+++ b/fastboot/1.0/IFastboot.hal
@@ -29,14 +29,4 @@
      *     reformatting.
      */
     getPartitionType(string partitionName) generates (FileSystemType type, Result result);
-
-    /**
-     * Executes a fastboot OEM command.
-     *
-     * @param oemCmdArgs The oem command that is passed to the fastboot HAL.
-     * @response result Returns the status SUCCESS if the operation is successful,
-     *     INVALID_ARGUMENT for bad arguments,
-     *     FAILURE_UNKNOWN for an invalid/unsupported command.
-     */
-    doOemCommand(string oemCmd) generates (Result result);
 };
diff --git a/fastboot/1.0/types.hal b/fastboot/1.0/types.hal
index 3fbe639..8453deb 100644
--- a/fastboot/1.0/types.hal
+++ b/fastboot/1.0/types.hal
@@ -53,9 +53,9 @@
 struct Result {
     Status status;
     /**
-     * Message pertaining to the status. It must be a failure message for
+     * Error message pertaining to the status. It must be a failure message for
      * Status FAILURE_UNKNOWN/NOT_SUPPORTED or an informative message for
      * Status SUCCESS.
      */
-    string message;
+    string error;
 };