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

Commit b8110155 authored by Jiabin Huang's avatar Jiabin Huang Committed by Cherrypicker Worker
Browse files

AHAL: add more comment for IModule.disconnectExternalDevice

Bug: 277955540
Test: TH
(cherry picked from https://android-review.googlesource.com/q/commit:cf210c83b2d29882aa0144a8e52af0d460628b6e)
Merged-In: I0d6a73884ab4bcfec62da45124024e8680155144
Change-Id: I0d6a73884ab4bcfec62da45124024e8680155144
parent f8cdade2
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.