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

Commit a38a404b authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "AHAL: add more comment for IModule.disconnectExternalDevice" into...

Merge "AHAL: add more comment for IModule.disconnectExternalDevice" into udc-dev am: 0b1aefa0 am: 39042f2a

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/22932415



Change-Id: I340b4d1a331ae667a7d98c96544294872a81e4f0
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents a4be85b7 39042f2a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -234,6 +234,12 @@ interface IModule {
     * instance previously instantiated using the 'connectExternalDevice'
     * method.
     *
     * The framework will call this method before closing streams and resetting
     * patches. This call can be used by the HAL module to prepare itself to
     * device disconnection. If the HAL module indicates an error after the first
     * call, the framework will call this method once again after closing associated
     * streams and patches.
     *
     * @throws EX_ILLEGAL_ARGUMENT In the following cases:
     *                             - If the port can not be found by the ID.
     *                             - If this is not a connected device port.