Commit 2fac64bb authored by Adam Langley's avatar Adam Langley Committed by Commit Bot

webauthn: use Bluetooth name in caBLEv2 linking.

BUG=1002262

Change-Id: Ic2ee06eab6944116e4139525967d9810cbf55893
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2551742
Commit-Queue: Adam Langley <agl@chromium.org>
Reviewed-by: default avatarMartin Kreichgauer <martinkr@google.com>
Cr-Commit-Position: refs/heads/master@{#829942}
parent e4eb530a
......@@ -468,6 +468,10 @@ class CableAuthenticator {
}
static String getName() {
final String name = BluetoothAdapter.getDefaultAdapter().getName();
if (name != null && name.length() > 0) {
return name;
}
return Build.MANUFACTURER + " " + Build.MODEL;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment