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

Commit 52b3a84a authored by Jiabin Huang's avatar Jiabin Huang Committed by Automerger Merge Worker
Browse files

AHAL: add more comment for IModule.disconnectExternalDevice am: cf210c83 am:...

AHAL: add more comment for IModule.disconnectExternalDevice am: cf210c83 am: 9d4c5348 am: 4dc99702

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



Change-Id: Ie305e2bb4ad01b935f2b051a37ea225afc94f19f
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 8dbef2e4 4dc99702
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.