mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "AHAL: update doc for prepareToDisconnectExternalDevice." into main am: f1db884971 am: ddb1c493f9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2889309 Change-Id: I52737b6f64497692bf7fc64ec91c840ab002ae22 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -928,7 +928,10 @@ interface IModule {
|
|||||||
* using 'connectExternalDevice' method. 'disconnectExternalDevice' method will be called
|
* using 'connectExternalDevice' method. 'disconnectExternalDevice' method will be called
|
||||||
* soon after this method with the same 'portId'.
|
* 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:
|
* @throws EX_ILLEGAL_ARGUMENT In the following cases:
|
||||||
* - If the port can not be found by the ID.
|
* - If the port can not be found by the ID.
|
||||||
* - If this is not a connected device port.
|
* - If this is not a connected device port.
|
||||||
|
|||||||
Reference in New Issue
Block a user