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

Commit 20968800 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
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"
parents 7b97603a 7a9b7fc3
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 {