summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothHearingAid.java
diff options
context:
space:
mode:
authorRahul Sabnis <rahulsabnis@google.com>2020-03-19 11:44:54 -0700
committerRahul Sabnis <rahulsabnis@google.com>2020-03-20 01:42:16 -0700
commit64df407ce9270cde316618be42bb43e9d4d9fae2 (patch)
treec4fabdaa161c4596fa1cecb32f1a8a7940753aa1 /framework/java/android/bluetooth/BluetoothHearingAid.java
parent9b75abd11ba98defdb194d47b5d2f272c796250e (diff)
BluetoothHearingAid#getHiSyncId now consistently uses the term HiSyncId
(removed all references to CustomerId) and added link to explain what the HiSyncId represents Bug: 149238489 Test: Manual Merged-In: I4ff2a8d46f3fc5d06a29829a69a27a0c15e466f8 Change-Id: I4ff2a8d46f3fc5d06a29829a69a27a0c15e466f8
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothHearingAid.java')
-rw-r--r--framework/java/android/bluetooth/BluetoothHearingAid.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/framework/java/android/bluetooth/BluetoothHearingAid.java b/framework/java/android/bluetooth/BluetoothHearingAid.java
index 38498bc147..5891072ec7 100644
--- a/framework/java/android/bluetooth/BluetoothHearingAid.java
+++ b/framework/java/android/bluetooth/BluetoothHearingAid.java
@@ -496,17 +496,20 @@ public final class BluetoothHearingAid implements BluetoothProfile {
}
/**
- * Get the CustomerId of the device.
+ * Get the HiSyncId (unique hearing aid device identifier) of the device.
+ *
+ * <a href=https://source.android.com/devices/bluetooth/asha#hisyncid>HiSyncId documentation
+ * can be found here</a>
*
* @param device Bluetooth device
- * @return the CustomerId of the device
+ * @return the HiSyncId of the device
* @hide
*/
@SystemApi
@RequiresPermission(Manifest.permission.BLUETOOTH)
public long getHiSyncId(@Nullable BluetoothDevice device) {
if (VDBG) {
- log("getCustomerId(" + device + ")");
+ log("getHiSyncId(" + device + ")");
}
final IBluetoothHearingAid service = getService();
try {