AudioDeviceInfo.TYPE_DOCK more javadoc

Clarify the difference between TYPE_DOCK and TYPE_DOCK_ANALOG.

Bug: 260151609
Test: verify javadoc
Change-Id: Ic284ca3942061b875e2a74469040cc4277940593
This commit is contained in:
Jean-Michel Trivi
2022-12-05 16:18:34 +00:00
parent 9c37b89cfa
commit 9c55f1ea73

View File

@@ -89,6 +89,8 @@ public final class AudioDeviceInfo {
public static final int TYPE_USB_ACCESSORY = 12;
/**
* A device type describing the audio device associated with a dock.
* Starting at API 34, this device type only represents digital docks, while docks with an
* analog connection are represented with {@link #TYPE_DOCK_ANALOG}.
* @see #TYPE_DOCK_ANALOG
*/
public static final int TYPE_DOCK = 13;