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

Commit c8ed359e 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" into rvc-dev am: 8f8d351b am: 9568a669 am: 168ef63a

Change-Id: I53e00c29f100db305c277f7b2ba5ccd7059a870e
parents 2a3c6cf5 168ef63a
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 {