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

Commit d8a94c8b authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 6729040 from 8dff790ba39a75f9515bc5ecf0dbc5a4c2fe4f30 to sc-release

Change-Id: I59c77d052e7e2286b449ef464362a9f951d8cc76
parents 99792117 37484b91
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -1032,6 +1032,18 @@ public final class BluetoothDevice implements Parcelable {
        return mAddress;
    }

    /**
     * Returns the anonymized hardware address of this BluetoothDevice. The first three octets
     * will be suppressed for anonymization.
     * <p> For example, "XX:XX:XX:AA:BB:CC".
     *
     * @return Anonymized bluetooth hardware address as string
     * @hide
     */
    public String getAnonymizedAddress() {
        return "XX:XX:XX" + getAddress().substring(8);
    }

    /**
     * Get the friendly Bluetooth name of the remote device.
     *