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

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

Merge "BluetoothHearingAid#getHiSyncId now consistently uses the term HiSyncId...

Merge "BluetoothHearingAid#getHiSyncId now consistently uses the term HiSyncId (removed all references to CustomerId) and added link to explain what the HiSyncId represents" am: e8640349 am: 55bb6e22

Change-Id: I677945e30762425ad600ef6f56c05fd402f2cefa
parents 6094f425 55bb6e22
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -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 {