summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-03-19 20:01:07 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-03-19 20:01:07 +0000
commit20968800f83a194b724782dee211c2fb92fb179c (patch)
tree9963c4889f848edbe17f2aa8ba078c0b531d67ed
parent7b97603ac022d44076667684ca405f20b65761dc (diff)
parent7a9b7fc34bb5522180a4c773361f820c37524a8f (diff)
Merge "BluetoothHearingAid#getHiSyncId now consistently uses the term HiSyncId (removed all references to CustomerId) and added link to explain what the HiSyncId represents"
-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 {