device::BluetoothAdapterAndroid::GetAddress() calls the Java method
android.bluetooth.BluetoothAdapter.getAddress() for which the linter raises a "HardwareIds" warning because this method accesses a unique device identifier contrary to the recommendations here:
https://developer.android.com/training/articles/user-data-ids.html
Additionally, this page says that in Android 6.0+:
The WifiInfo.getMacAddress() method and the BluetoothAdapter.getDefaultAdapter().getAddress() method will both return 02:00:00:00:00:00.
This means calling this method is not only not recommended but also useless. Web Bluetooth does not depend on access to the adapter MAC address so this method is not needed on Android and if possible the device::BluetoothAdapter::GetAddress() method should be removed entirely.
Comment 1 by ortuno@chromium.org
, May 3 2017