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

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

Merge "AHAL: update doc for prepareToDisconnectExternalDevice." into main am:...

Merge "AHAL: update doc for prepareToDisconnectExternalDevice." into main am: f1db8849 am: ddb1c493 am: 2eb60daf

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



Change-Id: Idff2e5048f1f9857aa024d8edcba4b43bae6ca09
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents c4711810 2eb60daf
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -928,7 +928,10 @@ interface IModule {
     * using 'connectExternalDevice' method. 'disconnectExternalDevice' method will be called
     * soon after this method with the same 'portId'.
     *
     * @param portId The ID of the audio port that is about to disconnect
     * Note: This method is called after the external device is disconnected. The system does
     * not try to predict the disconnection event.
     *
     * @param portId The ID of the audio port corresponding to the disconnected device
     * @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.