Don't enable or disable the Bluetooth adapter automatically.

This commit is contained in:
akwizgran
2020-08-14 16:16:10 +01:00
parent c75c8da4b9
commit 2a8778d3cc
7 changed files with 8 additions and 132 deletions

View File

@@ -62,22 +62,6 @@ class JavaBluetoothPlugin
return localDevice != null && LocalDevice.isPowerOn();
}
@Override
void enableAdapter() {
// Nothing we can do on this platform
LOG.info("Could not enable Bluetooth");
}
@Override
void disableAdapterIfEnabledByUs() {
// We didn't enable it so we don't need to disable it
}
@Override
void setEnabledByUs() {
// Irrelevant on this platform
}
@Nullable
@Override
String getBluetoothAddress() {