summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
authorNavtej Singh Mann <navtejsingh@google.com>2014-04-09 18:06:37 -0700
committerVinit Deshpande <vinitd@google.com>2014-05-18 09:41:34 -0700
commit94f77dbb025f0182f2fe816b2a00ffa1cd2becfc (patch)
tree400e393d306286a44504b1e3def436bf76d92b97 /wifi
parent337a63aea7e6483a119ba876d72629acc17a9a1b (diff)
downloadframeworks_base-94f77dbb025f0182f2fe816b2a00ffa1cd2becfc.zip
frameworks_base-94f77dbb025f0182f2fe816b2a00ffa1cd2becfc.tar.gz
frameworks_base-94f77dbb025f0182f2fe816b2a00ffa1cd2becfc.tar.bz2
Fixed bypass of ConnectivityInternal permission
Removed public function 'getWifiStateMachineMessenger' of WifiManager to fix bypass of ConnectivityInternal permission by application, which is security concern Bug: 13749822 Change-Id: I3ae73e33b77ee8ae0133ca9dc8cc03c504f09e40
Diffstat (limited to 'wifi')
-rw-r--r--wifi/java/android/net/wifi/IWifiManager.aidl2
-rw-r--r--wifi/java/android/net/wifi/WifiManager.java12
2 files changed, 0 insertions, 14 deletions
diff --git a/wifi/java/android/net/wifi/IWifiManager.aidl b/wifi/java/android/net/wifi/IWifiManager.aidl
index 0535fe0..9ccd810 100644
--- a/wifi/java/android/net/wifi/IWifiManager.aidl
+++ b/wifi/java/android/net/wifi/IWifiManager.aidl
@@ -111,8 +111,6 @@ interface IWifiManager
Messenger getWifiServiceMessenger();
- Messenger getWifiStateMachineMessenger();
-
String getConfigFile();
void enableTdls(String remoteIPAddress, boolean enable);
diff --git a/wifi/java/android/net/wifi/WifiManager.java b/wifi/java/android/net/wifi/WifiManager.java
index 15b65c1..9558d50 100644
--- a/wifi/java/android/net/wifi/WifiManager.java
+++ b/wifi/java/android/net/wifi/WifiManager.java
@@ -1783,18 +1783,6 @@ public class WifiManager {
}
}
- /**
- * Get a reference to WifiStateMachine handler.
- * @return Messenger pointing to the WifiService handler
- * @hide
- */
- public Messenger getWifiStateMachineMessenger() {
- try {
- return mService.getWifiStateMachineMessenger();
- } catch (RemoteException e) {
- return null;
- }
- }
/**
* Returns the file in which IP and proxy configuration data is stored