summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/TetherSettings.java
diff options
context:
space:
mode:
authorJaikumar Ganesh <jaikumar@google.com>2010-09-02 12:11:06 -0700
committerJaikumar Ganesh <jaikumar@google.com>2010-09-02 12:11:06 -0700
commitd2bed6935fd702afe2958499fc4e410ee3bca51e (patch)
treeb5211cde6a6315654bab62e098f6fbf8950d3c1a /src/com/android/settings/TetherSettings.java
parent86624a21540e2cd336573a55adb5d3997e4a717d (diff)
downloadpackages_apps_Settings-d2bed6935fd702afe2958499fc4e410ee3bca51e.tar.gz
packages_apps_Settings-d2bed6935fd702afe2958499fc4e410ee3bca51e.tar.bz2
packages_apps_Settings-d2bed6935fd702afe2958499fc4e410ee3bca51e.zip
Decouple enabling of tethering with SDP record.
Change-Id: I50781bab52b28d7b3fe750fb055ffaeac5baf360
Diffstat (limited to 'src/com/android/settings/TetherSettings.java')
-rw-r--r--src/com/android/settings/TetherSettings.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/com/android/settings/TetherSettings.java b/src/com/android/settings/TetherSettings.java
index 67049ffe0..bcd772ef9 100644
--- a/src/com/android/settings/TetherSettings.java
+++ b/src/com/android/settings/TetherSettings.java
@@ -433,8 +433,7 @@ public class TetherSettings extends PreferenceActivity {
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 @@ public class TetherSettings extends PreferenceActivity {
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);