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

Commit a247c5e5 authored by Automerger Merge Worker's avatar Automerger Merge Worker Committed by Android (Google) Code Review
Browse files

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

Merge "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" into rvc-dev-plus-aosp
parents 5d33fc51 74c07d06
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 {