summaryrefslogtreecommitdiffstats
path: root/apps/Development/src/com/android/development
diff options
context:
space:
mode:
authorVinit Deshapnde <vinitd@google.com>2013-08-16 17:20:45 -0700
committerVinit Deshapnde <vinitd@google.com>2013-08-16 17:20:45 -0700
commit9bfdb7e110b16dba1f22982a557565ecf0a305ed (patch)
tree14180f4e348440359b2d39d6a95af4c0f9f8739e /apps/Development/src/com/android/development
parentba321696ddceb7996300cf7fe8027349ea9c9671 (diff)
downloadandroid_development-9bfdb7e110b16dba1f22982a557565ecf0a305ed.tar.gz
android_development-9bfdb7e110b16dba1f22982a557565ecf0a305ed.tar.bz2
android_development-9bfdb7e110b16dba1f22982a557565ecf0a305ed.zip
Expose WifiManager.setTdlsEnabled public API
Bug: 10221775 Change-Id: I559e4a2afd525a03c8a13fd151eca4638426d03e
Diffstat (limited to 'apps/Development/src/com/android/development')
-rw-r--r--apps/Development/src/com/android/development/Connectivity.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/Development/src/com/android/development/Connectivity.java b/apps/Development/src/com/android/development/Connectivity.java
index 0da1410f0..7d4491b4f 100644
--- a/apps/Development/src/com/android/development/Connectivity.java
+++ b/apps/Development/src/com/android/development/Connectivity.java
@@ -504,9 +504,9 @@ public class Connectivity extends Activity {
InetAddress inetAddress = null;
try {
inetAddress = InetAddress.getByName(mTdlsAddr);
- mWm.enableTdls(inetAddress, true);
+ mWm.setTdlsEnabled(inetAddress, true);
} catch (Exception e) {
- mWm.enableTdlsWithMacAddress(mTdlsAddr, true);
+ mWm.setTdlsEnabledWithMacAddress(mTdlsAddr, true);
}
}
@@ -516,9 +516,9 @@ public class Connectivity extends Activity {
InetAddress inetAddress = null;
try {
inetAddress = InetAddress.getByName(mTdlsAddr);
- mWm.enableTdls(inetAddress, false);
+ mWm.setTdlsEnabled(inetAddress, false);
} catch (Exception e) {
- mWm.enableTdlsWithMacAddress(mTdlsAddr, false);
+ mWm.setTdlsEnabledWithMacAddress(mTdlsAddr, false);
}
}