Decouple enabling of tethering with SDP record.
Change-Id: I50781bab52b28d7b3fe750fb055ffaeac5baf360
diff --git a/src/com/android/settings/TetherSettings.java b/src/com/android/settings/TetherSettings.java
index 67049ff..bcd772e 100644
--- a/src/com/android/settings/TetherSettings.java
+++ b/src/com/android/settings/TetherSettings.java
@@ -433,8 +433,7 @@
mBluetoothSettings.setEnabled(true);
}
- mBluetoothPan.setBluetoothTethering(true,
- BluetoothPan.NAP_ROLE, BluetoothPan.NAP_BRIDGE);
+ mBluetoothPan.setBluetoothTethering(true);
mBluetoothTether.setSummary(R.string.bluetooth_tethering_available_subtext);
} else {
boolean errored = false;
@@ -448,9 +447,7 @@
errored = true;
}
- mBluetoothPan.setBluetoothTethering(false,
- BluetoothPan.NAP_ROLE, BluetoothPan.NAP_BRIDGE);
-
+ mBluetoothPan.setBluetoothTethering(false);
mBluetoothSettings.setEnabled(false);
if (errored) {
mBluetoothTether.setSummary(R.string.bluetooth_tethering_errored_subtext);